mirror of
https://github.com/PeterCamilleri/fOOrth
synced 2024-11-16 07:47:56 +01:00
Added more test cases.
This commit is contained in:
parent
7d0634f866
commit
6bc60fd619
1 changed files with 7 additions and 0 deletions
|
@ -60,4 +60,11 @@ class ObjectLibraryTester < MiniTest::Unit::TestCase
|
|||
foorth_equal('"4" "2" min', ["2"])
|
||||
end
|
||||
|
||||
def test_more_holistically
|
||||
foorth_equal("[ 2 4 -2 1/2 555 8 -33 17 ] global: $tmw", [])
|
||||
|
||||
foorth_equal("max_num $tmw .each{ v min } ", [-33])
|
||||
foorth_equal("min_num $tmw .each{ v max } ", [555])
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue