<commit_before># encoding: utf-8

require File.join(File.dirname(__FILE__), 'helper')

class TestZmq < ZmqTestCase
  def test_interrupted_p
    assert !ZMQ.interrupted?
  end

  def test_version
    assert_equal [3,2,1], ZMQ.version<commit_msg>Let tests for ZMQ.version not be dependent on a particular ZeroMQ version<commit_after># encoding: utf-8

require File.join(File.dirname(__FILE__), 'helper')

class TestZmq < ZmqTestCase
  def test_interrupted_p
    assert !ZMQ.interrupted?
  end

  def test_version
    version = ZMQ.version
    assert_instance_of Array, version
    assert version.all?{|v| Fixnum === v }
{'fraction_non_alphanumeric': 0.09238249594813615, 'fraction_numerical': 0.008103727714748784, 'mean_word_length': 4.469026548672566, 'pattern_counts': {'":': 0, '<': 5, '<?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': '7011020', 'n_tokens_mistral': 212, 'n_tokens_neox': 202, 'n_words': 54}