more layout tests, seeing class names on stdout

This commit is contained in:
Torsten Ruger 2015-11-08 00:55:37 +02:00
parent 9fd7c79cfb
commit 6cd95ee933

View File

@ -16,9 +16,18 @@ class TestLayoutRT < MiniTest::Test
def test_get_class
@string_input = "return get_class()"
check_return_class Parfait::Layout
check_return_class Parfait::Class
end
def test_puts_class
@string_input = <<HERE
Class c = get_class()
Word w = c.get_name()
w.putstring()
HERE
@stdout = "Space"
check
end
end