From 8aabff6b37af8687e7dd3fee9a0bee68855c01f2 Mon Sep 17 00:00:00 2001 From: Torsten Ruger Date: Sat, 7 Nov 2015 17:39:17 +0200 Subject: [PATCH] get layout test start of copying the ruby parfait tests lots can be done with string output and return value --- test/parfait/test_layout.rb | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 test/parfait/test_layout.rb diff --git a/test/parfait/test_layout.rb b/test/parfait/test_layout.rb new file mode 100644 index 00000000..227e1a32 --- /dev/null +++ b/test/parfait/test_layout.rb @@ -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