hamming distance
All checks were successful
Test and Deploy / test (push) Successful in 12s
Test and Deploy / docs (push) Successful in 17s

This commit is contained in:
2024-05-04 11:35:54 -07:00
parent e622107f07
commit c81c8bfa3c
4 changed files with 35 additions and 0 deletions

View File

@ -374,6 +374,9 @@ void test_crypto() {
free(enc);
free(s);
unsigned int hamming = hamming_distance("this is a test", "wokka wokka!!!");
assert(hamming == 37);
printf("Passes all crypto tests\n");
}