File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 33(executable
44 (name lin_tests_dsl)
55 (modules lin_tests_dsl)
6- (libraries qcheck-lin))
6+ (libraries qcheck-lin.domain ))
77
88
99;; A model-based test of the stdlib Hashtbl library
Original file line number Diff line number Diff line change 77 let init () = Hashtbl. create ~random: false 42
88 let cleanup _ = ()
99
10- open Lin_api
10+ open Lin_base
1111 let a,b = char_printable,nat_small
1212 let api =
1313 [ val_ " Hashtbl.add" Hashtbl. add (t @-> a @-> b @-> returning unit );
1717 val_ " Hashtbl.length" Hashtbl. length (t @-> returning int ); ]
1818end
1919
20- module HT = Lin_api .Make (HashtblSig )
20+ module HT = Lin_domain .Make (HashtblSig )
2121;;
2222QCheck_base_runner. run_tests_main [
23- HT. lin_test `Domain ~count: 1000 ~name: " Hashtbl DSL test" ;
23+ HT. lin_test ~count: 1000 ~name: " Hashtbl DSL test" ;
2424]
You can’t perform that action at this time.
0 commit comments