Merge pull request #41 from blackducksw/ubuntu_14
[ohcount] / test / unit / parsers / test_ocaml.h
1
2 void test_ocaml_comments() {
3   test_parser_verify_parse(
4     test_parser_sourcefile("ocaml", " (* comment *)"),
5     "ocaml", "", "(* comment *)", 0
6   );
7 }
8
9 void test_ocaml_comment_entities() {
10   test_parser_verify_entity(
11     test_parser_sourcefile("ocaml", " (*comment*)"),
12     "comment", "(*comment*)"
13   );
14 }
15
16 void all_ocaml_tests() {
17   test_ocaml_comments();
18   test_ocaml_comment_entities();
19 }