add an integer plus

not correctly handling integer objects yet
This commit is contained in:
Torsten Ruger
2018-03-30 17:09:02 +03:00
parent efcc33f8a1
commit 1956f18faa
6 changed files with 44 additions and 32 deletions

View File

@ -27,7 +27,7 @@ class TestSpace < MiniTest::Test
def test_integer
int = Parfait.object_space.get_class_by_name :Integer
assert_equal 3, int.instance_type.method_names.get_length
assert_equal 4, int.instance_type.method_names.get_length
end
def test_classes_class