This commit is contained in:
2026-02-01 22:29:58 +01:00
parent e25004f59c
commit e71ba138c0
8 changed files with 252 additions and 185 deletions

View File

@@ -289,15 +289,15 @@ void test() {
for (int i = 0; i < 6; i++) {
if (positions1.data[i] != expected_results1[i]) {
MismatchData data = { i, positions1.data[i], expected_results1[i] };
AppendList(&mismatches1, data);
ListAppend(mismatches1, data);
}
if (positions2.data[i] != expected_results2[i]) {
MismatchData data = { i, positions2.data[i], expected_results2[i] };
AppendList(&mismatches2, data);
ListAppend(mismatches2, data);
}
if (positions3.data[i] != expected_results3[i]) {
MismatchData data = { i, positions3.data[i], expected_results3[i] };
AppendList(&mismatches3, data);
ListAppend(mismatches3, data);
}
}
Assert(mismatches1.length == 0);