make ints compile time mutable
to change the label value and use the allocated stubs
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user