Added tests for form_remove_value

This commit is contained in:
James Booth
2014-09-15 13:09:49 +01:00
parent d1ace3282c
commit ea24a7c4f6
3 changed files with 146 additions and 0 deletions

View File

@@ -544,6 +544,10 @@ int main(int argc, char* argv[]) {
unit_test(add_value_adds_when_none),
unit_test(add_value_adds_when_some),
unit_test(add_value_adds_when_exists),
unit_test(remove_value_does_nothing_when_none),
unit_test(remove_value_does_nothing_when_doesnt_exist),
unit_test(remove_value_does_removes_when_one),
unit_test(remove_value_does_removes_when_many),
};
return run_tests(all_tests);