Test output for isbn [ok]
Testing time: 1s
/home/mario/local/chicken-4.8.0.3/bin/csi -script run.scm < /dev/null -- testing ISBN-10 ----------------------------------------------------------- normal isbn .......................................................... [ PASS] isbn with X as check digit ........................................... [ PASS] dashes as separators ................................................. [ PASS] spaces as separators ................................................. [ PASS] spaces and dashes (should fail but we are forgiving .................. [ PASS] uncommon separator places ............................................ [ PASS] wrong number ......................................................... [ PASS] 7 tests completed in 0.001 seconds. 7 out of 7 (100%) tests passed. -- done testing ISBN-10 ------------------------------------------------------ -- testing ISBN-13 ----------------------------------------------------------- normal isbn-13 ....................................................... [ PASS] isbn with 0 check digit (10) ......................................... [ PASS] 2 tests completed in 0.0 seconds. 2 out of 2 (100%) tests passed. -- done testing ISBN-13 ------------------------------------------------------ -- testing ISBN classification ----------------------------------------------- ISBN-10 .............................................................. [ PASS] ISBN-13 .............................................................. [ PASS] Invalid ISBN ......................................................... [ PASS] 3 tests completed in 0.001 seconds. 3 out of 3 (100%) tests passed. -- done testing ISBN classification ------------------------------------------ -- testing ISBN upgrade ------------------------------------------------------ normal isbn .......................................................... [ PASS] isbn with X as check digit ........................................... [ PASS] 2 tests completed in 0.0 seconds. 2 out of 2 (100%) tests passed. -- done testing ISBN upgrade ------------------------------------------------- -- testing normalize-isbn ---------------------------------------------------- Normalize ISBN-13 (with 10 check digit) .............................. [ PASS] Normalize ISBN-10 (with 10 check digit) .............................. [ PASS] 2 tests completed in 0.001 seconds. 2 out of 2 (100%) tests passed. -- done testing normalize-isbn ----------------------------------------------- -- testing openlibrary.org API ----------------------------------------------- Requesting entry for ISBN-10 09370-73890-6 ........................... [ PASS] Requesting same ISBN with restricted return values ................... [ PASS] 2 tests completed in 1.292 seconds. 2 out of 2 (100%) tests passed. -- done testing openlibrary.org API ------------------------------------------