| 1 | open OUnit |
| 2 | open Pp |
| 3 | |
| 4 | let pr_big_vect = |
| 5 | let n = "pr_big_vect" in |
| 6 | n >:: (fun () -> |
| 7 | let v = Array.make (1 lsl 20) () in |
| 8 | let pp = prvecti_with_sep spc (fun _ _ -> str"x") v in |
| 9 | let str = string_of_ppcmds pp in |
| 10 | ignore(str)) |
| 11 | |
| 12 | let tests = [pr_big_vect] |
| 13 | |
| 14 | let () = Utest.run_tests __FILE__ (Utest.open_log_out_ch __FILE__) tests |