mirror of
https://github.com/c-cube/ocaml-containers.git
synced 2025-12-06 03:05:28 -05:00
12 lines
256 B
OCaml
12 lines
256 B
OCaml
|
|
(** Some helpers for tests *)
|
|
|
|
let print_int_list l =
|
|
let b = Buffer.create 20 in
|
|
CCList.pp CCInt.pp b l;
|
|
Buffer.contents b
|
|
|
|
let print_int_int_list l =
|
|
let b = Buffer.create 20 in
|
|
CCList.pp (CCPair.pp CCInt.pp CCInt.pp) b l;
|
|
Buffer.contents b
|