diff --git a/test/register/test_all.rb b/test/register/test_all.rb index 3f4f1101..dbc19b9e 100644 --- a/test/register/test_all.rb +++ b/test/register/test_all.rb @@ -6,4 +6,4 @@ require_relative "test_compat" require_relative "test_instructions" require_relative "test_machine" require_relative "test_padding" -require_relative "test_positioning" +require_relative "test_positioned" diff --git a/test/register/test_positioning.rb b/test/register/test_positioned.rb similarity index 86% rename from test/register/test_positioning.rb rename to test/register/test_positioned.rb index a77b1e22..1d2afe7c 100644 --- a/test/register/test_positioning.rb +++ b/test/register/test_positioned.rb @@ -1,6 +1,6 @@ require_relative "../helper" -class TestPositioning < MiniTest::Test +class TestPositioned < MiniTest::Test def setup Register.machine.boot unless Register.machine.booted end @@ -22,10 +22,10 @@ class TestPositioning < MiniTest::Test assert_equal 32 , word.padded_length end def test_raises_no_init - assert_raises { TestPosition.new.position} + assert_raises { Positioned.position(self)} end def test_raises_set_nil - assert_raises { TestPosition.new.set_position nil} + assert_raises { Positioned.set_position(self,nil)} end def test_raises_reset_far assert_raises do