6 OUnit.assert_equal ~printer:Xml.to_string_fmt (normalize x) (normalize y)
9 ("code module test" >::: [
12 ok (elem "OpAdd" []) @@
16 ok (attr "OpConstructProp" ["name","1";"argc","42"]) @@
17 Code.to_xml (`ConstructProp (1l,42l)));
20 ok (attr "OpGetLex" ["name","42"]) @@
21 Code.to_xml (`GetLex 42l))
22 ]) +> run_test_tt_main