rubyx/test/parfait/test_layout.rb

25 lines
388 B
Ruby
Raw Normal View History

require_relative 'helper'
2015-11-07 18:38:52 +01:00
class TestLayoutRT < MiniTest::Test
include RuntimeTests
def test_main
@string_input = "return 1"
2015-11-07 21:26:06 +01:00
check_return 1
end
def test_get_layout
@string_input = "return get_layout()"
2015-11-07 21:26:06 +01:00
check_return_class Parfait::Layout
end
2015-11-07 18:38:52 +01:00
def test_get_class
@string_input = "return get_class()"
2015-11-07 21:26:06 +01:00
check_return_class Parfait::Layout
2015-11-07 18:38:52 +01:00
end
end