---loading lab1.cl--- ---load complete, init RNG--- ---RNG initialized--- ============================================= Beginning tests of validItem (validItem 12) test beginning Test complete, passed (validItem NIL) test beginning Test complete, passed (validItem (spaghetti)) test beginning Test complete, passed (validItem (12)) test beginning Test complete, passed (validItem (stuff two)) test beginning Test complete, passed (validItem (negativerank -1)) test beginning Test complete, passed (validItem (zerorank 0)) test beginning Test complete, passed (validItem (5 10)) test beginning Test complete, passed (validItem (item 1000 and extra)) test beginning Test complete, passed (validItem (firstItem 1)) test beginning Test complete, passed (validItem (GoodItem 2345)) test beginning Test complete, passed (validItem ( 500)) test beginning Test complete, passed (validItem (A letter to grandma! 1500)) test beginning Test complete, passed ============================================= Beginning tests of validRankings (validRankings 10) test beginning Test complete, passed (validRankings NIL) test beginning Test complete, passed (validRankings ((thing1 5))) test beginning Test complete, passed (validRankings (NIL (thing2 100) (thing3 1000) (thing4 2000) (thing5 3000))) test beginning Test complete, passed (validRankings ((thing1 10) (thing2 100) (thing3 1000) (thing4 2000) 0)) test beginning Test complete, passed (validRankings ((thing1 10) (thing2 100) (1000 thing3) (thing4 2000) (thing5 3000))) test beginning Test complete, passed (validRankings ((x 100) (y 200))) test beginning Test complete, passed (validRankings ((A 500) (B 400) (C 300) (D 200) (E 100))) test beginning Test complete, passed ============================================= Beginning tests of readItemFromFile (readItemFromFile tests/nosuchfile) test beginning Error, no such file: tests/nosuchfile Test complete, passed (readItemFromFile tests/emptyfile) test beginning Test complete, passed (readItemFromFile tests/oneitem) test beginning Test complete, passed (readItemFromFile tests/twoitem) test beginning Test complete, passed (readItemFromFile tests/posted) test beginning Test complete, passed ============================================= Beginning tests of newRankings (newRankings 5 (thing1 50) 1) test beginning Test complete, passed (newRankings (X 100) (50 Y) 0) test beginning Test complete, passed (newRankings (A 50) (B 100) NIL) test beginning Test complete, passed (newRankings (first 1000) (second 500) -3) test beginning Test complete, passed (newRankings (item1 800) (ITEM2 800) 5) test beginning Test complete, passed (newRankings (more 99) (again 44) 0.123) test beginning Test complete, passed (newRankings (A 50) (B 100) 1) test beginning Test complete, passed (newRankings (first 1000) (second 500) 0) test beginning Test complete, passed (newRankings (more 99) (again 44) 0.5) test beginning Test complete, passed (newRankings (item1 800) (ITEM2 800) 0.5) test beginning Test complete, passed ============================================= Beginning tests of change (change NIL 100 1) test beginning Test complete, passed (change 200 foo 0) test beginning Test complete, passed (change 100 200 (1)) test beginning Test complete, passed (change -1 300 0) test beginning Test complete, passed (change 400 -2 1) test beginning Test complete, passed (change 500 600 0.123) test beginning Test complete, passed (change 400 450 0) test beginning Test complete, passed (change 400 450 0.5) test beginning Test complete, passed (change 400 450 1) test beginning Test complete, passed (change 600 600 0) test beginning Test complete, passed (change 600 600 0.5) test beginning Test complete, passed (change 600 600 1) test beginning Test complete, passed (change 900 750 0) test beginning Test complete, passed (change 900 750 0.5) test beginning Test complete, passed (change 900 750 1) test beginning Test complete, passed ============================================= Beginning tests of expected (expected NIL 500) test beginning Test complete, passed (expected 600 ick) test beginning Test complete, passed (expected -3 800) test beginning Test complete, passed (expected 700 -96) test beginning Test complete, passed (expected 400 500) test beginning Test complete, passed (expected 701 701) test beginning Test complete, passed (expected 2000 1800) test beginning Test complete, passed ============================================= Beginning tests of pickPair (pickPair 10) test beginning Test complete, passed (pickPair ((this 500))) test beginning Test complete, passed (pickPair ((this 500) (that 600))) test beginning Test complete, passed (pickPair ((this 500) (that 600) (other 700) (again 800) (more 900))) test beginning Test complete, passed, items (other 700) and (this 500) (pickPair ((this 500) (that 600) (other 700) (again 800) (more 900))) test beginning Test complete, passed, items (other 700) and (this 500) (pickPair ((this 500) (that 600) (other 700) (again 800) (more 900))) test beginning Test complete, passed, items (again 800) and (this 500) (pickPair ((this 500) (that 600) (other 700) (again 800) (more 900))) test beginning Test complete, passed, items (other 700) and (more 900) (pickPair ((this 500) (that 600) (other 700) (again 800) (more 900))) test beginning Test complete, passed, items (again 800) and (this 500) (pickPair ((this 500) (that 600) (other 700) (again 800) (more 900))) test beginning Test complete, passed, items (more 900) and (this 500) ==================================================== === End of batch testing, failed 0 of 67 tests ==== ====================================================