Change the way the hamming function handles its arguments length
This commit is contained in:
parent
2a122cb5a6
commit
87c2fdc95d
4 changed files with 7 additions and 23 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue