get layout test
start of copying the ruby parfait tests lots can be done with string output and return value
This commit is contained in:
parent
50b03a5e94
commit
8aabff6b37
18
test/parfait/test_layout.rb
Normal file
18
test/parfait/test_layout.rb
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
require_relative 'helper'
|
||||||
|
|
||||||
|
class TestObject < MiniTest::Test
|
||||||
|
include RuntimeTests
|
||||||
|
|
||||||
|
def test_main
|
||||||
|
@string_input = "return 1"
|
||||||
|
check
|
||||||
|
end
|
||||||
|
|
||||||
|
def test_get_layout
|
||||||
|
@string_input = "return get_layout()"
|
||||||
|
check
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user