@@ -10,17 +10,17 @@ struct
1010 | Success of 'a [@@ deriving show { with_path = false }, eq ]
1111
1212 let cas_result ty =
13- Lin_api . deconstructible (show_cas_result (fun fmt a -> Format. pp_print_string fmt (Lin_api . print ty a))) (equal_cas_result (Lin_api . equal ty))
13+ Lin_base . deconstructible (show_cas_result (fun fmt a -> Format. pp_print_string fmt (Lin_base . print ty a))) (equal_cas_result (Lin_base . equal ty))
1414
1515 let fun_none _ty =
1616 let print_fun _ = " (fun _ -> None)" in
1717 let fun_gen = QCheck. (make ~print: print_fun (Gen. return (fun _ -> None ))) in
18- Lin_api . gen fun_gen print_fun
18+ Lin_base . gen fun_gen print_fun
1919
2020 let fun_some _ty =
2121 let print_fun _ = " (fun i -> Some i)" in
2222 let fun_gen = QCheck. (make ~print: print_fun (Gen. return (fun i -> Some i))) in
23- Lin_api . gen fun_gen print_fun
23+ Lin_base . gen fun_gen print_fun
2424end
2525
2626module KConf =
2929 let init () = Kcas. ref 0
3030 let cleanup _ = ()
3131
32- open Lin_api
32+ open Lin_base
3333 let int = nat_small
3434 let fun_none,fun_some,cas_result = Common. (fun_none,fun_some,cas_result)
3535 let api =
4545 ]
4646end
4747
48- module KT = Lin_api .Make (KConf )
48+ module KT = Lin_domain .Make (KConf )
4949
5050
5151(* ********************************************************************** *)
5757 let init () = Kcas.W1. ref 0
5858 let cleanup _ = ()
5959
60- open Lin_api
60+ open Lin_base
6161 let int = nat_small
6262 let fun_none,fun_some,cas_result = Common. (fun_none,fun_some,cas_result)
6363 let api =
7373 ]
7474end
7575
76- module KW1T = Lin_api .Make (KW1Conf )
76+ module KW1T = Lin_domain .Make (KW1Conf )
7777;;
7878QCheck_base_runner. run_tests_main [
79- KT. neg_lin_test `Domain ~count: 1000 ~name: " Lin_api Kcas test with Domain" ;
80- KW1T. lin_test `Domain ~count: 1000 ~name: " Lin_api Kcas.W1 test with Domain" ;
79+ KT. neg_lin_test ~count: 1000 ~name: " Lin_api Kcas test with Domain" ;
80+ KW1T. lin_test ~count: 1000 ~name: " Lin_api Kcas.W1 test with Domain" ;
8181]
0 commit comments