objects didn't get positions

positions.empty? was wrong check
This commit is contained in:
Torsten Ruger
2018-06-16 10:58:54 +03:00
parent 698c845297
commit 7543236f4f
9 changed files with 17 additions and 28 deletions

View File

@@ -15,7 +15,7 @@ module Risc
end
def test_no_fire
@pos.position_listener(self)
Position.set_to(@pos,0)
@pos.set(0)
assert_equal 0 , Position.get(@object).at
end
def test_at