class TestML::Runtime::Lang
Public Instance Methods
assert_EQ(got, want)
click to toggle source
# File lib/testml/runtime/lang.rb, line 7 def assert_EQ(got, want) return bool got.value == want.value end
assert_HAS(got, has)
click to toggle source
# File lib/testml/runtime/lang.rb, line 11 def assert_HAS(got, has) return bool got.value.index(has.value) != -1 end
assert_OK(got)
click to toggle source
# File lib/testml/runtime/lang.rb, line 15 def assert_OK(got) return bool !! got.value end