adds a mom version of basic values

This commit is contained in:
Torsten Ruger
2018-03-13 12:30:51 +05:30
parent 45bfe118d1
commit b297650b78
20 changed files with 94 additions and 30 deletions

View File

@@ -16,7 +16,7 @@ module Mom
assert_equal 1 , @stats.length
end
def test_assigns_class
assert_equal Vool::IntegerStatement , @stats.right.class , @stats.inspect
assert_equal Mom::IntegerConstant , @stats.right.class , @stats.inspect
end
def test_assigns_value
assert_equal 5 , @stats.right.value , @stats.inspect
@@ -49,7 +49,7 @@ module Mom
assert_equal 1 , @stats.length
end
def test_assigns_class
assert_equal Vool::InstanceVariable , @stats.right.class , @stats.inspect
assert_equal Mom::SlotDefinition , @stats.right.class , @stats.inspect
end
end
end