fix position test
This commit is contained in:
parent
5ec235d049
commit
eaaf61c117
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user