18f9ea019e
after renaming compiler to soml it’s where they wanna be also will allow for unifying test helpers and testing fragments remotely too
19 lines
287 B
Ruby
19 lines
287 B
Ruby
require_relative 'helper'
|
|
|
|
class TestHello < MiniTest::Test
|
|
include Fragments
|
|
|
|
def test_hello
|
|
@string_input = <<HERE
|
|
class Object
|
|
int main()
|
|
"Hello Raisa, I am salama".putstring()
|
|
end
|
|
end
|
|
HERE
|
|
@length = 37
|
|
@stdout = "Hello Raisa, I am salama"
|
|
check
|
|
end
|
|
end
|