make ints compile time mutable

to change the label value and use the allocated stubs
This commit is contained in:
Torsten Ruger
2018-05-29 17:03:55 +03:00
parent b81d9565de
commit 7847420d49
5 changed files with 26 additions and 2 deletions

View File

@ -43,6 +43,9 @@ module Parfait
int = int.next_integer
end
end
def test_set
@int.set_value(1)
assert_equal 1 , @int.value
end
end
end