<commit_before>require 'minitest_helper'

# Test for timer.rb
class TestTimer < MiniTest::Unit::TestCase
  include Rubeus::Swing

  # setup method
  def setup
  end

  # normal pattern
  def test_normal
    count = 0
    t = Timer.new(100) do
      count += 1
    end
    t.start

    sleep(1)

    assert(count > 1)

    t.stop
  end
end

<commit_msg>fix how to asser for minitest<commit_after>require 'minitest_helper'

# Test for timer.rb
class TestTimer < MiniTest::Unit::TestCase
  include Rubeus::Swing

  # setup method
  def setup
  end

  # normal pattern
  def test_normal
    count = 0
    t = Timer.new(100) do
      count += 1
    end
    t.start

    sleep(1)

    assert_operator(count, :>=, 1)

    t.stop
  end
end


{'fraction_non_alphanumeric': 0.08731241473396999, 'fraction_numerical': 0.019099590723055934, 'mean_word_length': 2.5288461538461537, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '2395564', 'n_tokens_mistral': 280, 'n_tokens_neox': 256, 'n_words': 73}