Files
mercury/tests/hard_coded/exceptions/test_loop_check.exp
Thomas Conway 303c81f3ed Fix the test cases involving univ.
Estimated hours taken: 1

Fix the test cases involving univ.
2001-01-13 02:30:33 +00:00

55 lines
2.6 KiB
Plaintext

--- first time ---
det_throw: exception(univ_cons("det_throw"))
det_succeed: succeeded("det_succeed")
semidet_throw: exception(univ_cons("semidet_throw"))
semidet_succeed: succeeded("semidet_succeed")
semidet_fail: failed
cc_multi_throw: exception(univ_cons("cc_multi_throw"))
cc_multi_succeed: succeeded("cc_multi_succeed")
cc_nondet_throw: exception(univ_cons("cc_nondet_throw"))
cc_nondet_succeed: succeeded("cc_nondet_succeed")
cc_nondet_fail: failed
multi_throw: exception(univ_cons("multi_throw"))
multi_succeed: succeeded(["multi_succeed 1", "multi_succeed 2"])
multi_succeed_then_throw: exception(univ_cons("multi_succeed_then_throw 3"))
nondet_throw: exception(univ_cons("nondet_throw"))
nondet_succeed: succeeded(["nondet_succeed 1", "nondet_succeed 2"])
nondet_fail: succeeded([])
nondet_succeed_then_throw: exception(univ_cons("nondet_succeed_then_throw 3"))
--- second time ---
det_throw: exception(univ_cons("det_throw"))
det_succeed: succeeded("det_succeed")
semidet_throw: exception(univ_cons("semidet_throw"))
semidet_succeed: succeeded("semidet_succeed")
semidet_fail: failed
cc_multi_throw: exception(univ_cons("cc_multi_throw"))
cc_multi_succeed: succeeded("cc_multi_succeed")
cc_nondet_throw: exception(univ_cons("cc_nondet_throw"))
cc_nondet_succeed: succeeded("cc_nondet_succeed")
cc_nondet_fail: failed
multi_throw: exception(univ_cons("multi_throw"))
multi_succeed: succeeded(["multi_succeed 1", "multi_succeed 2"])
multi_succeed_then_throw: exception(univ_cons("multi_succeed_then_throw 3"))
nondet_throw: exception(univ_cons("nondet_throw"))
nondet_succeed: succeeded(["nondet_succeed 1", "nondet_succeed 2"])
nondet_fail: succeeded([])
nondet_succeed_then_throw: exception(univ_cons("nondet_succeed_then_throw 3"))
--- third time ---
det_throw: exception(univ_cons("det_throw"))
det_succeed: succeeded("det_succeed")
semidet_throw: exception(univ_cons("semidet_throw"))
semidet_succeed: succeeded("semidet_succeed")
semidet_fail: failed
cc_multi_throw: exception(univ_cons("cc_multi_throw"))
cc_multi_succeed: succeeded("cc_multi_succeed")
cc_nondet_throw: exception(univ_cons("cc_nondet_throw"))
cc_nondet_succeed: succeeded("cc_nondet_succeed")
cc_nondet_fail: failed
multi_throw: exception(univ_cons("multi_throw"))
multi_succeed: succeeded(["multi_succeed 1", "multi_succeed 2"])
multi_succeed_then_throw: exception(univ_cons("multi_succeed_then_throw 3"))
nondet_throw: exception(univ_cons("nondet_throw"))
nondet_succeed: succeeded(["nondet_succeed 1", "nondet_succeed 2"])
nondet_fail: succeeded([])
nondet_succeed_then_throw: exception(univ_cons("nondet_succeed_then_throw 3"))