mirror of
https://github.com/c-cube/sidekick.git
synced 2025-12-09 20:55:39 -05:00
details
This commit is contained in:
parent
aea634ca8b
commit
f0dd1b08e8
2 changed files with 4 additions and 3 deletions
|
|
@ -404,10 +404,10 @@ module Make(Var: VAR)
|
|||
assert Erat.(sum = zero);
|
||||
|
||||
done;
|
||||
() (* TODO: more *)
|
||||
()
|
||||
|
||||
(* for internal checking *)
|
||||
let _check_invariants_internal self =
|
||||
let[@inline] _check_invariants_internal self =
|
||||
if false (* FUDGE *) then _check_invariants self
|
||||
|
||||
let[@inline] has_var_ (self:t) x : bool = V_map.mem x self.var_tbl
|
||||
|
|
|
|||
|
|
@ -277,7 +277,7 @@ let check_sound =
|
|||
let ar =
|
||||
Step.(rand_for 0 300)
|
||||
|> QC.set_collect (fun pb -> if check_steps pb then "sat" else "unsat")
|
||||
|> QC.set_stats steps_stats
|
||||
(* |> QC.set_stats steps_stats *)
|
||||
in
|
||||
QC.Test.make ~long_factor:10 ~count:500 ~name:"simplex2_sound" ar prop_sound
|
||||
|
||||
|
|
@ -287,6 +287,7 @@ let prop_invariants pb =
|
|||
add_steps simplex pb ~f:(fun () -> Spl._check_invariants simplex);
|
||||
Spl.check_exn simplex
|
||||
with Spl.E_unsat _ -> ());
|
||||
Spl._check_invariants simplex;
|
||||
true
|
||||
|
||||
let check_invariants =
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue