mirror of
https://github.com/c-cube/moonpool.git
synced 2025-12-12 14:00:41 -05:00
test: remove dep
This commit is contained in:
parent
1d23d2d7a1
commit
3676d1e28d
2 changed files with 5 additions and 2 deletions
|
|
@ -2,4 +2,5 @@
|
||||||
(tests
|
(tests
|
||||||
(names t_fib1 t_futs1 t_many)
|
(names t_fib1 t_futs1 t_many)
|
||||||
(enabled_if (>= %{ocaml_version} 5.0))
|
(enabled_if (>= %{ocaml_version} 5.0))
|
||||||
(libraries moonpool trace tracy-client.trace))
|
(libraries moonpool trace ;tracy-client.trace
|
||||||
|
))
|
||||||
|
|
|
||||||
|
|
@ -18,7 +18,9 @@ let fib ~on x : int Fut.t =
|
||||||
in
|
in
|
||||||
Fut.spawn ~on (fun () -> fib_rec x)
|
Fut.spawn ~on (fun () -> fib_rec x)
|
||||||
|
|
||||||
let () = Tracy_client_trace.setup ()
|
(* NOTE: for tracy support
|
||||||
|
let () = Tracy_client_trace.setup ()
|
||||||
|
*)
|
||||||
let () = assert (List.init 10 fib_direct = [ 1; 1; 2; 3; 5; 8; 13; 21; 34; 55 ])
|
let () = assert (List.init 10 fib_direct = [ 1; 1; 2; 3; 5; 8; 13; 21; 34; 55 ])
|
||||||
|
|
||||||
let fib_40 : int =
|
let fib_40 : int =
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue