equal
deleted
inserted
replaced
197 case test_fun of |
197 case test_fun of |
198 NONE => (Quickcheck.message ctxt ("Conjecture is not executable with Quickcheck-" ^ name); |
198 NONE => (Quickcheck.message ctxt ("Conjecture is not executable with Quickcheck-" ^ name); |
199 !current_result) |
199 !current_result) |
200 | SOME test_fun => |
200 | SOME test_fun => |
201 let |
201 let |
202 val _ = Quickcheck.message ctxt ("Testing conjecture with with Quickcheck-" ^ name ^ "..."); |
202 val _ = Quickcheck.message ctxt ("Testing conjecture with Quickcheck-" ^ name ^ "..."); |
203 fun test genuine_only enum = case get_first (test_card_size test_fun genuine_only) enum of |
203 fun test genuine_only enum = case get_first (test_card_size test_fun genuine_only) enum of |
204 SOME ((card, _), (true, ts)) => |
204 SOME ((card, _), (true, ts)) => |
205 Quickcheck.add_response names (nth eval_terms (card - 1)) (SOME (true, ts)) current_result |
205 Quickcheck.add_response names (nth eval_terms (card - 1)) (SOME (true, ts)) current_result |
206 | SOME ((card, size), (false, ts)) => |
206 | SOME ((card, size), (false, ts)) => |
207 let |
207 let |