diff options
author | James Booth <boothj5@gmail.com> | 2014-04-14 22:48:18 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2014-04-14 22:48:18 +0100 |
commit | 8d77930eceba6841673605f7df5083657a0ecd28 (patch) | |
tree | 1dd4a3f4b0821cffa2609286e848e4aa0cae23cf /tests/testsuite.c | |
parent | cc68fc5e9a7346d501c8c7df8444acc1f538ef58 (diff) | |
download | profani-tty-8d77930eceba6841673605f7df5083657a0ecd28.tar.gz |
Added parse_options
Diffstat (limited to 'tests/testsuite.c')
-rw-r--r-- | tests/testsuite.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/testsuite.c b/tests/testsuite.c index cdcd61ee..c6577410 100644 --- a/tests/testsuite.c +++ b/tests/testsuite.c @@ -165,6 +165,14 @@ int main(int argc, char* argv[]) { unit_test(get_first_two_of_three_first_quoted), unit_test(get_first_two_of_three_second_quoted), unit_test(get_first_two_of_three_first_and_second_quoted), + unit_test(parse_options_when_none_returns_empty_hasmap), + unit_test(parse_options_when_opt1_no_val_sets_error), + unit_test(parse_options_when_one_returns_map), + unit_test(parse_options_when_opt2_no_val_sets_error), + unit_test(parse_options_when_two_returns_map), + unit_test(parse_options_when_opt3_no_val_sets_error), + unit_test(parse_options_when_three_returns_map), + unit_test(parse_options_when_unknown_opt_sets_error), unit_test(empty_list_when_none_added), unit_test(contains_one_element), |