rubyx/test/arm/test_arm_platform.rb
Torsten Ruger 8d3a1954fa close #21
Mostly replaced Fixnum with integer
also in the rx-file dependency
all travis and testing with 2.4+
2019-02-07 18:24:35 +02:00

19 lines
436 B
Ruby

require_relative "helper"
module Arm
class TestArmPlatform < MiniTest::Test
def setup
@arm = Risc::Platform.for("Arm")
end
def test_platform_class
assert_equal Arm::ArmPlatform , @arm.class
end
def test_platform_translator_class
assert_equal Arm::Translator , @arm.translator.class
end
def test_platform_loaded_class
assert_equal ::Integer , @arm.loaded_at.class
end
end
end