Test output for prcc [ok]
Testing time: 0s
/home/mario/local/chicken-4.8.0.3/bin/csi -script run.scm < /dev/null
-- testing prcc --------------------------------------------------------------
-- testing act -----------------------------------------------------------
(parse-string "abc" p0) .......................................... [ PASS]
(not (parse-string "ae" p1)) ..................................... meeting 'e'parsing 'ae' failed:
(expect: c ;but got: e)@(1, 2)
[ PASS]
2 tests completed in 0.0 seconds.
2 out of 2 (100%) tests passed.
-- done testing act ------------------------------------------------------
-- testing eof -----------------------------------------------------------
(not (parse-string "aad" p0)) .................................... parsing 'aad' failed:
(expect: end of file)@(1, 3)
[ PASS]
(parse-string "ab" p0) ........................................... [ PASS]
2 tests completed in 0.001 seconds.
2 out of 2 (100%) tests passed.
-- done testing eof ------------------------------------------------------
-- testing ind -----------------------------------------------------------
(parse-string "abaca" p0) ........................................ [ PASS]
(parse-string "abaca" p1) ........................................ [ PASS]
2 tests completed in 0.002 seconds.
2 out of 2 (100%) tests passed.
-- done testing ind ------------------------------------------------------
-- testing join+ ---------------------------------------------------------
(parse-string "abaca" p0) ........................................ [ PASS]
(parse-string "a" p0) ............................................ [ PASS]
(parse-string "abac" p0) ......................................... [ PASS]
3 tests completed in 0.001 seconds.
3 out of 3 (100%) tests passed.
-- done testing join+ ----------------------------------------------------
-- testing join+_ --------------------------------------------------------
(parse-string "a b a c a" p0) ................................... [ PASS]
(parse-string "a" p0) ............................................ [ PASS]
(parse-string "a,b,a,c,a" p1) .................................... [ PASS]
3 tests completed in 0.001 seconds.
3 out of 3 (100%) tests passed.
-- done testing join+_ ---------------------------------------------------
-- testing lazy ----------------------------------------------------------
(parse-string "ababa" p0) ........................................ [ PASS]
1 test completed in 0.0 seconds.
1 out of 1 (100%) test passed.
-- done testing lazy -----------------------------------------------------
-- testing neg -----------------------------------------------------------
(parse-string "b" p0) ............................................ [ PASS]
(not (parse-string "abcacef" p1)) ................................ parsing 'abcacef' failed:
(expect: parsing failure)@(1, 4)
[ PASS]
(parse-string "abcadef" p2) ...................................... [ PASS]
3 tests completed in 0.001 seconds.
3 out of 3 (100%) tests passed.
-- done testing neg ------------------------------------------------------
-- testing one-of --------------------------------------------------------
(parse-string "aa" p0) ........................................... [ PASS]
(parse-string "ab" p0) ........................................... [ PASS]
(parse-string "ac" p0) ........................................... [ PASS]
3 tests completed in 0.001 seconds.
3 out of 3 (100%) tests passed.
-- done testing one-of ---------------------------------------------------
-- testing one? ----------------------------------------------------------
(parse-string "a" p0) ............................................ [ PASS]
(parse-string "b" p0) ............................................ [ PASS]
2 tests completed in 0.0 seconds.
2 out of 2 (100%) tests passed.
-- done testing one? -----------------------------------------------------
-- testing pred! ---------------------------------------------------------
(not (parse-string "abb" p0)) .................................... parsing 'abb' failed:
@(1, 1)
[ PASS]
(parse-string "ac" p0) ........................................... [ PASS]
2 tests completed in 0.0 seconds.
2 out of 2 (100%) tests passed.
-- done testing pred! ----------------------------------------------------
-- testing pred ----------------------------------------------------------
(parse-string "abb" p0) .......................................... [ PASS]
(not (parse-string "ac" p0)) ..................................... parsing 'ac' failed:
(expect: bb ;but got: c)@(1, 2)
[ PASS]
2 tests completed in 0.001 seconds.
2 out of 2 (100%) tests passed.
-- done testing pred -----------------------------------------------------
-- testing rep+ ----------------------------------------------------------
(parse-string "aaaaa" p0) ........................................ [ PASS]
(not (parse-string "b" p0)) ...................................... parsing 'b' failed:
(expect: a ;but got: b)@(1, 1)
[ PASS]
2 tests completed in 0.0 seconds.
2 out of 2 (100%) tests passed.
-- done testing rep+ -----------------------------------------------------
-- testing rep+_ ---------------------------------------------------------
(parse-string "aa a aa" p0) ..................................... [ PASS]
(not (parse-string "b a" p0)) .................................... parsing 'b a' failed:
(expect: a ;but got: b)@(1, 1)
[ PASS]
(parse-string "a,a,a,a,a" p1) .................................... [ PASS]
(not (parse-string "b a" p1)) .................................... parsing 'b a' failed:
(expect: a ;but got: b)@(1, 1)
[ PASS]
4 tests completed in 0.003 seconds.
4 out of 4 (100%) tests passed.
-- done testing rep+_ ----------------------------------------------------
-- testing rep -----------------------------------------------------------
(parse-string "aaaaa" p0) ........................................ [ PASS]
(parse-string "b" p0) ............................................ [ PASS]
2 tests completed in 0.0 seconds.
2 out of 2 (100%) tests passed.
-- done testing rep ------------------------------------------------------
-- testing rep_ ----------------------------------------------------------
(parse-string "a aa a a" p0) ..................................... [ PASS]
(parse-string "b" p0) ............................................ [ PASS]
2 tests completed in 0.001 seconds.
2 out of 2 (100%) tests passed.
-- done testing rep_ -----------------------------------------------------
-- testing sel -----------------------------------------------------------
(parse-string "aabbb" p0) ........................................ [ PASS]
(not (parse-string "aabb" p0)) ................................... parsing 'aabb' failed:
(expect: ccc ;but got: bb)@(1, 3)
[ PASS]
(parse-string "aaccc" p0) ........................................ [ PASS]
3 tests completed in 0.001 seconds.
3 out of 3 (100%) tests passed.
-- done testing sel ------------------------------------------------------
-- testing seq -----------------------------------------------------------
(parse-string "aabbb" p0) ........................................ [ PASS]
1 test completed in 0.0 seconds.
1 out of 1 (100%) test passed.
-- done testing seq ------------------------------------------------------
-- testing seq_ ----------------------------------------------------------
(parse-string "a abbb" p0) ..................................... [ PASS]
(parse-string "a,a" p0) .......................................... [ PASS]
2 tests completed in 0.0 seconds.
2 out of 2 (100%) tests passed.
-- done testing seq_ -----------------------------------------------------
-- testing regexp --------------------------------------------------------
(parse-string "bccjabc" p0) ...................................... [ PASS]
(parse-string "bccjabc" p1) ...................................... [ PASS]
(parse-string " \n\t " p2) ................................... [ PASS]
3 tests completed in 0.002 seconds.
3 out of 3 (100%) tests passed.
-- done testing regexp ---------------------------------------------------
19 subgroups completed in 0.015 seconds.
19 out of 19 (100%) subgroups passed.
-- done testing prcc ---------------------------------------------------------