Skip to content

Commit

Permalink
Reorganise some stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
filipeom committed Aug 3, 2024
1 parent 2b1d34d commit 2bcdf49
Show file tree
Hide file tree
Showing 32 changed files with 48 additions and 44 deletions.
2 changes: 1 addition & 1 deletion example/dune
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
(enabled_if %{lib-available:z3})
(deps
./product_mix.exe
(source_tree test)))
(source_tree in)))
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
24 changes: 12 additions & 12 deletions example/product_mix.t
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
Tests Product Mix:
$ ./product_mix.exe < test/teste01.in
$ ./product_mix.exe < in/teste01.in
6440
$ ./product_mix.exe < test/teste02.in
$ ./product_mix.exe < in/teste02.in
750
$ ./product_mix.exe < test/teste03.in
$ ./product_mix.exe < in/teste03.in
50
$ ./product_mix.exe < test/teste04.in
$ ./product_mix.exe < in/teste04.in
60
$ ./product_mix.exe < test/teste05.in
$ ./product_mix.exe < in/teste05.in
56
$ ./product_mix.exe < test/teste06.in
$ ./product_mix.exe < in/teste06.in
55
$ ./product_mix.exe < test/teste07.in
$ ./product_mix.exe < in/teste07.in
40
$ ./product_mix.exe < test/teste08.in
$ ./product_mix.exe < in/teste08.in
60
$ ./product_mix.exe < test/teste09.in
$ ./product_mix.exe < in/teste09.in
95
$ ./product_mix.exe < test/teste10.in
$ ./product_mix.exe < in/teste10.in
215
$ ./product_mix.exe < test/teste11.in
$ ./product_mix.exe < in/teste11.in
4204
$ ./product_mix.exe < test/teste12.in
$ ./product_mix.exe < in/teste12.in
0
File renamed without changes.
File renamed without changes.
10 changes: 10 additions & 0 deletions test/solver/test_bitwuzla.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
open Smtml
open Smtml_tests

let () =
assert Bitwuzla_mappings.is_available;
let module Test_solver_params =
Test_solver_params.Make (Bitwuzla_mappings.Fresh.Make ()) in
let module Test_bv = Test_bv.Make (Bitwuzla_mappings) in
let module Test_fp = Test_fp.Make (Bitwuzla_mappings) in
()
File renamed without changes.
File renamed without changes.
11 changes: 11 additions & 0 deletions test/solver/test_colibri2.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
open Smtml
open Smtml_tests

let () =
assert Colibri2_mappings.is_available;
let module Test_solver_params = Test_solver_params.Make (Colibri2_mappings) in
let module Test_solver = Test_solver.Make (Colibri2_mappings) in
let module Test_bv = Test_bv.Make (Colibri2_mappings) in
let module Test_fp = Test_fp.Make (Colibri2_mappings) in
let module Test_lia = Test_lia.Make (Colibri2_mappings) in
()
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
14 changes: 14 additions & 0 deletions test/solver/test_z3.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
open Smtml
open Smtml_tests

let () =
assert Z3_mappings.is_available;
let module Test_solver_params =
Test_solver_params.Make (Z3_mappings.Fresh.Make ()) in
let module Test_solver = Test_solver.Make (Z3_mappings.Fresh.Make ()) in
let module Test_optimizer = Test_optimizer.Make (Z3_mappings.Fresh.Make ()) in
let module Test_bv = Test_bv.Make (Z3_mappings.Fresh.Make ()) in
let module Test_fp = Test_fp.Make (Z3_mappings.Fresh.Make ()) in
let module Test_lia = Test_lia.Make (Z3_mappings.Fresh.Make ()) in
let module Test_lra = Test_lra.Make (Z3_mappings.Fresh.Make ()) in
()
9 changes: 0 additions & 9 deletions test/test_bitwuzla.ml

This file was deleted.

10 changes: 0 additions & 10 deletions test/test_colibri2.ml

This file was deleted.

12 changes: 0 additions & 12 deletions test/test_z3.ml

This file was deleted.

0 comments on commit 2bcdf49

Please sign in to comment.