bit of test refactoring
This commit is contained in:
parent
46fbfb7101
commit
d1cc482f8f
11
test/risc/position/helper.rb
Normal file
11
test/risc/position/helper.rb
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
require_relative "../helper"
|
||||||
|
|
||||||
|
module Risc
|
||||||
|
module Position
|
||||||
|
class Dummy
|
||||||
|
def padded_length
|
||||||
|
4
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
@ -1,4 +1,4 @@
|
|||||||
require_relative "../helper"
|
require_relative "helper"
|
||||||
|
|
||||||
module Risc
|
module Risc
|
||||||
# tests that require a boot and test propagation
|
# tests that require a boot and test propagation
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
require_relative "../helper"
|
require_relative "helper"
|
||||||
|
|
||||||
module Risc
|
module Risc
|
||||||
module Position
|
module Position
|
||||||
|
@ -1,12 +1,7 @@
|
|||||||
require_relative "../helper"
|
require_relative "helper"
|
||||||
|
|
||||||
module Risc
|
module Risc
|
||||||
module Position
|
module Position
|
||||||
class Dummy
|
|
||||||
def padded_length
|
|
||||||
4
|
|
||||||
end
|
|
||||||
end
|
|
||||||
class TestObjectListener < MiniTest::Test
|
class TestObjectListener < MiniTest::Test
|
||||||
|
|
||||||
def setup
|
def setup
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
require_relative "../helper"
|
require_relative "helper"
|
||||||
|
|
||||||
module Risc
|
module Risc
|
||||||
module Position
|
module Position
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
require_relative "../helper"
|
require_relative "helper"
|
||||||
|
|
||||||
module Risc
|
module Risc
|
||||||
class TestMachinePositions < MiniTest::Test
|
class TestMachinePositions < MiniTest::Test
|
||||||
|
Loading…
Reference in New Issue
Block a user