src/HOL/Tools/Quickcheck/narrowing_generators.ML
changeset 43910 575bf39e078b
parent 43892 86ede854b4f5
child 43911 a1da544e2652
equal deleted inserted replaced
43909:7feb72f7bc3e 43910:575bf39e078b
   261         fun with_size k =
   261         fun with_size k =
   262           if k > size then
   262           if k > size then
   263             (NONE, !current_result)
   263             (NONE, !current_result)
   264           else
   264           else
   265             let
   265             let
   266               val _ = message ("Test data size: " ^ string_of_int k)
   266               val _ = message ("[Quickcheck-Narrowing] Test data size: " ^ string_of_int k)
   267               val _ = current_size := k
   267               val _ = current_size := k
   268               val ((response, _), timing) = elapsed_time ("execution of size " ^ string_of_int k)
   268               val ((response, _), timing) = elapsed_time ("execution of size " ^ string_of_int k)
   269                 (fn () => Isabelle_System.bash_output (executable ^ " " ^ string_of_int k))
   269                 (fn () => Isabelle_System.bash_output (executable ^ " " ^ string_of_int k))
   270               val _ = Quickcheck.add_timing timing current_result
   270               val _ = Quickcheck.add_timing timing current_result
   271             in
   271             in