Lines Matching refs:tests
25 } tests[] = {
70 for (i = 0; i < sizeof(tests) / sizeof(tests[0]); i++) {
73 addr[0] = tests[i].data;
74 len[0] = strlen(tests[i].data);
76 if (memcmp(hash, tests[i].hash, 16) != 0) {
83 addr[0] = tests[i].data;
84 len[0] = strlen(tests[i].data);
85 addr[1] = tests[i].data + 1;
86 len[1] = strlen(tests[i].data) - 1;
88 if (memcmp(hash, tests[i].hash, 16) != 0) {