fix position test

This commit is contained in:
Torsten Ruger 2018-06-14 21:19:22 +03:00
parent 5ec235d049
commit eaaf61c117

View File

@ -18,10 +18,10 @@ module Risc
Position.set_to(@pos,0) Position.set_to(@pos,0)
assert_equal 0 , Position.get(@object).at assert_equal 0 , Position.get(@object).at
end end
def test_reset def test_at
@pos.position_listener( @listener) @pos.position_listener( @listener)
Position.set_to(@pos,4) @pos.set(8)
assert_equal 0 , Position.at(4).at assert_equal 8 , Position.at(8).at
end end
end end
end end