change binary labels

This commit is contained in:
Torsten Ruger
2018-05-13 17:21:48 +03:00
parent 39902401b9
commit 866467ee5e
4 changed files with 16 additions and 5 deletions

View File

@ -103,5 +103,10 @@ module Parfait
@code.set_word(1 , 1)
assert_equal 1, @code.get_internal_word(@code.data_start + 1)
end
def test_has_each
sum = 0
@code.each{ sum += 1}
assert_equal sum , 1
end
end
end