OSDN Git Service

merge src/ and test/ at xml/
[happyabc/happyabc.git] / xml / testSupport.ml
1 open Base
2 let ok x y =
3   OUnit.assert_equal ~printer:Std.dump x y
4
5 let example name =
6   let ch =
7     open_in_bin @@ Printf.sprintf "../example/%s.abc" name in
8     Abc.of_stream @@ Byte.of_channel ch