Change the way the hamming function handles its arguments length

This commit is contained in:
Dimitri Lozeve 2020-06-10 15:25:21 +02:00
parent 2a122cb5a6
commit 87c2fdc95d
4 changed files with 7 additions and 23 deletions

View file

@ -83,7 +83,7 @@ static MunitResult test_hamming(const MunitParameter params[], void *data) {
(void)params;
(void)data;
assert_int(hamming("this is a test", "wokka wokka!!!"), ==, 37);
assert_int(hamming(14, "this is a test", "wokka wokka!!!"), ==, 37);
return MUNIT_OK;
}