Sha256: c01d771ddea5228585b02887df617b644dfe22750dc2ebbfc5eb41354a2fb843

Contents?: true

Size: 398 Bytes

Versions: 9

Compression:

Stored size: 398 Bytes

Contents

require 'hilbert/iq'

class TestInterpreterBase < MiniTest::Unit::TestCase
  # TODO: opposite
  def assert_iq_equal(input, output)
    assert_equal(Hilbert::Iq.execute(input), output)
  end

  def assert_def_func(input, output)
    assert_equal(Hilbert::Iq.execute(input), output)
  end

  def assert_cal_func(input, output)
    assert_equal(Hilbert::Iq.execute(input), output)
    reset
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
hilbert-0.0.2700420 test/interpreter/base.rb
hilbert-0.0.2700410 test/interpreter/base.rb
hilbert-0.0.2700400 test/interpreter/base.rb
hilbert-0.0.2700320 test/interpreter/base.rb
hilbert-0.0.2700300 test/interpreter/base.rb
hilbert-0.0.2700210 test/interpreter/base.rb
hilbert-0.0.2700110 test/interpreter/base.rb
hilbert-0.0.2700100 test/interpreter/base.rb
hilbert-0.0.2700001 test/interpreter/base.rb