<commit_before>#!/usr/bin/env ruby
require "test/unit"

$: << File.expand_path(File.dirname(__FILE__)) + '/../ext'
$: << File.expand_path(File.dirname(__FILE__)) + '/../cli/ruby-debug'
require "ruby_debug"

# Test of C extension ruby_debug.so
class TestRubyDebug < Test::Unit::TestCase
  include Debugger
  include Debugger

  # Test initial variables and setting/getting state.
  def test_basic
    assert_equal(false, Debugger.started?, 
                 "Debugger should not initially be started.")
    Debugger.start<commit_msg>Remove duplicate "include"<commit_after>#!/usr/bin/env ruby
require "test/unit"

$: << File.expand_path(File.dirname(__FILE__)) + '/../ext'
$: << File.expand_path(File.dirname(__FILE__)) + '/../cli/ruby-debug'
require "ruby_debug"

# Test of C extension ruby_debug.so
class TestRubyDebug < Test::Unit::TestCase
  include Debugger

  # Test initial variables and setting/getting state.
  def test_basic
    assert_equal(false, Debugger.started?, 
                 "Debugger should not initially be started.")
    Debugger.start
{'fraction_non_alphanumeric': 0.1323251417769376, 'fraction_numerical': 0.0, 'mean_word_length': 3.925581395348837, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '480221', 'n_tokens_mistral': 336, 'n_tokens_neox': 315, 'n_words': 77}