Merge pull request #41 from blackducksw/ubuntu_14
[ohcount] / test / unit / parsers / test_factor.h
1
2 void test_factor_comments() {
3   test_parser_verify_parse(
4     test_parser_sourcefile("factor", " ! comment"),
5     "factor", "", "! comment", 0
6   );
7 }
8
9 void test_factor_strings() {
10   test_parser_verify_parse(
11     test_parser_sourcefile("factor", "\"abc!not a 'comment\""),
12     "factor", "\"abc!not a 'comment\"", "", 0
13   );
14 }
15
16 void all_factor_tests() {
17   test_factor_comments();
18   test_factor_strings();
19 }