Test output for slice [ok]
Testing time: 0s
/home/mario/local/chicken-4.8.0.3/bin/csi -script run.scm < /dev/null s = "1234567" -- testing Slice ------------------------------------------------------------- (slice s 0 0) ........................................................ [ PASS] (slice s 1 0) ........................................................ [ PASS] (slice s 0 1) ........................................................ [ PASS] (slice s 10 10) ...................................................... [ PASS] (slice s 0 10) ....................................................... [ PASS] (slice s 10 0) ....................................................... [ PASS] (slice s 0) .......................................................... [ PASS] (slice s -1) ......................................................... [ PASS] (slice s 10) ......................................................... [ PASS] (slice s -10) ........................................................ [ PASS] (slice s -4) ......................................................... [ PASS] (slice s -4 -4) ...................................................... [ PASS] (slice s -4 -2) ...................................................... [ PASS] (slice s -4 -10) ..................................................... [ PASS] (slice s -10 -4) ..................................................... [ PASS] l = (1 2 3 4 5 6 7) (slice l 0 0) ........................................................ [ PASS] (slice l 1 0) ........................................................ [ PASS] (slice l 0 1) ........................................................ [ PASS] (slice l 1 3) ........................................................ [ PASS] (slice l 10 10) ...................................................... [ PASS] (slice l 0 10) ....................................................... [ PASS] (slice l 10 0) ....................................................... [ PASS] (slice l 0) .......................................................... [ PASS] (slice l -1) ......................................................... [ PASS] (slice l 10) ......................................................... [ PASS] (slice l -10) ........................................................ [ PASS] (slice l -4) ......................................................... [ PASS] (slice l -4 -4) ...................................................... [ PASS] (slice l -4 -2) ...................................................... [ PASS] (slice l -4 -10) ..................................................... [ PASS] (slice l -10 -4) ..................................................... [ PASS] v = #(1 2 3 4 5 6 7) (slice v 0 0) ........................................................ [ PASS] (slice v 1 0) ........................................................ [ PASS] (slice v 0 1) ........................................................ [ PASS] (slice v 1 3) ........................................................ [ PASS] (slice v 10 10) ...................................................... [ PASS] (slice v 0 10) ....................................................... [ PASS] (slice v 10 0) ....................................................... [ PASS] (slice v 0) .......................................................... [ PASS] (slice v -1) ......................................................... [ PASS] (slice v 10) ......................................................... [ PASS] (slice v -10) ........................................................ [ PASS] (slice v -4) ......................................................... [ PASS] (slice v -4 -4) ...................................................... [ PASS] (slice v -4 -2) ...................................................... [ PASS] (slice v -4 -10) ..................................................... [ PASS] (slice v -10 -4) ..................................................... [ PASS] s = #<custom-string> (slice s 0 0) ........................................................ [ PASS] (slice s 1 0) ........................................................ [ PASS] (slice s 0 1) ........................................................ [ PASS] 50 tests completed in 0.01 seconds. 50 out of 50 (100%) tests passed. -- done testing Slice --------------------------------------------------------