mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 11:15:31 -05:00
9 lines
216 B
OCaml
9 lines
216 B
OCaml
|
|
(** Some helpers for tests *)
|
|
|
|
let print_int_list l =
|
|
let b = Buffer.create 20 in
|
|
Format.bprintf b "@[<h>[%a]@]"
|
|
(Sequence.pp_seq ~sep:", " Format.pp_print_int)
|
|
(Sequence.of_list l);
|
|
Buffer.contents b
|