function docs improvements
This commit is contained in:
@ -5,11 +5,12 @@ module Mains
|
||||
include Risc::Ticker
|
||||
|
||||
def setup
|
||||
@string_input = as_main("a = 98 ; while(a>0) ; a = a - 1 ; end ; return a")
|
||||
@string_input = as_main("a = 1011 ; while(a>0) ; a = a - 1 ; end ; return a")
|
||||
super
|
||||
end
|
||||
def test_chain # max 98 iterations on 300 integers
|
||||
def test_chain # max 1011 iterations on 1014 integers (1024 - 10 reserve)
|
||||
run_all
|
||||
assert_equal Fixnum , get_return.class , " "
|
||||
assert_equal 0 , get_return , " "
|
||||
end
|
||||
|
||||
|
Reference in New Issue
Block a user