adds multiplication

without overflow testing, like the others
This commit is contained in:
Torsten Ruger
2018-04-01 21:18:08 +03:00
parent 1d57c59dab
commit 3a9539a071
5 changed files with 57 additions and 42 deletions

View File

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