2015-11-07 16:39:17 +01:00
|
|
|
require_relative 'helper'
|
|
|
|
|
2015-11-07 18:38:52 +01:00
|
|
|
class TestLayoutRT < MiniTest::Test
|
2015-11-07 16:39:17 +01:00
|
|
|
include RuntimeTests
|
|
|
|
|
|
|
|
def test_main
|
|
|
|
@string_input = "return 1"
|
|
|
|
check
|
|
|
|
end
|
|
|
|
|
|
|
|
def test_get_layout
|
|
|
|
@string_input = "return get_layout()"
|
|
|
|
check
|
|
|
|
end
|
|
|
|
|
2015-11-07 18:38:52 +01:00
|
|
|
def test_get_class
|
|
|
|
@string_input = "return get_class()"
|
|
|
|
check
|
|
|
|
end
|
|
|
|
|
2015-11-07 16:39:17 +01:00
|
|
|
|
|
|
|
|
|
|
|
end
|