From eaaf61c117c7239426d47556eb91bf66bfc25444 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Thu, 14 Jun 2018 21:19:22 +0300 Subject: [PATCH] fix position test --- test/risc/position/test_position_listener.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/risc/position/test_position_listener.rb b/test/risc/position/test_position_listener.rb index 7b369102..27f93d35 100644 --- a/test/risc/position/test_position_listener.rb +++ b/test/risc/position/test_position_listener.rb @@ -18,10 +18,10 @@ module Risc Position.set_to(@pos,0) assert_equal 0 , Position.get(@object).at end - def test_reset + def test_at @pos.position_listener( @listener) - Position.set_to(@pos,4) - assert_equal 0 , Position.at(4).at + @pos.set(8) + assert_equal 8 , Position.at(8).at end end end