Merge pull request #41 from blackducksw/ubuntu_14
[ohcount] / test / unit / parsers / test_fsharp.h
1
2 void test_fsharp_comments() {
3   test_parser_verify_parse(
4     test_parser_sourcefile("fsharp", " //comment"),
5     "fsharp", "", "//comment", 0
6   );
7 }
8
9 void test_fsharp_comment_entities() {
10   test_parser_verify_entity(
11     test_parser_sourcefile("fsharp", " //comment"),
12     "comment", "//comment"
13   );
14   test_parser_verify_entity(
15     test_parser_sourcefile("fsharp", " (*comment*)"),
16     "comment", "(*comment*)"
17   );
18 }
19
20 void all_fsharp_tests() {
21   test_fsharp_comments();
22   test_fsharp_comment_entities();
23 }