Added tests for form_remove_text_multi_value

This commit is contained in:
James Booth
2014-09-15 20:55:53 +01:00
parent ea24a7c4f6
commit aa85e29aef
3 changed files with 172 additions and 7 deletions

View File

@@ -546,8 +546,12 @@ int main(int argc, char* argv[]) {
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),
unit_test(remove_value_removes_when_one),
unit_test(remove_value_removes_when_many),
unit_test(remove_text_multi_value_does_nothing_when_none),
unit_test(remove_text_multi_value_does_nothing_when_doesnt_exist),
unit_test(remove_text_multi_value_removes_when_one),
unit_test(remove_text_multi_value_removes_when_many),
};
return run_tests(all_tests);