]> matita.cs.unibo.it Git - fireball-separation.git/blobdiff - ocaml/simple_test.ml
Fix bug traces of old constructor B
[fireball-separation.git] / ocaml / simple_test.ml
index 8bdefdcb426939e42a192c7e7e0c079c0a9c6863..438b7b572f0a6ebc845a0a90514a2e3c19782664 100644 (file)
@@ -45,7 +45,10 @@ let main =
 
   repeat (fun _ ->
     let div, convs = gen complex vars in
-    Simple.run div convs
+    let str = "$ random simple test \nD " ^ div ^ String.concat "\nC " convs ^ "\n" in
+    print_endline str;
+    let open Simple in
+    (solve ++ problem_of ++ Parser.problem_of_string) str
   ) num ;
 
   prerr_endline "\n---- ALL TESTS COMPLETED ----"