Sha256: 510b86aa49acf40df1a3d77c7b1ac7d12f0c3039a192166e302141c07d7e82e3

Contents?: true

Size: 390 Bytes

Versions: 8

Compression:

Stored size: 390 Bytes

Contents

require 'qlang/iq'

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

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

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

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
hilbert-0.0.2700000 test/interpreter/base.rb
qlang-0.0.27182124 test/interpreter/base.rb
qlang-0.0.27182123 test/interpreter/base.rb
qlang-0.0.27182122 test/interpreter/base.rb
qlang-0.0.27182121 test/interpreter/base.rb
qlang-0.0.27182120 test/interpreter/base.rb
qlang-0.0.27182110 test/interpreter/base.rb
qlang-0.0.27182100 test/interpreter/base.rb