move the methods test to mains
previous commit made the mains tests more general this joins methods tests here so we can run them on arm too fix #11
This commit is contained in:
9
test/mains/source/while__0.rb
Normal file
9
test/mains/source/while__0.rb
Normal file
@ -0,0 +1,9 @@
|
||||
class Space
|
||||
def main(arg)
|
||||
b = 10
|
||||
while( b >= 1 )
|
||||
b = b - 1
|
||||
end
|
||||
return b
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user