Add another test case.

This commit is contained in:
wb2osz 2024-10-22 16:41:15 +01:00
parent 0d7e296d6d
commit aede01d6ac
1 changed files with 4 additions and 0 deletions

View File

@ -135,6 +135,10 @@ int main (int argc, char *argv[])
assert (strcmp(comment_out, "Comment") == 0); assert (strcmp(comment_out, "Comment") == 0);
assert (strcmp(device, "UNKNOWN vendor/model") == 0); assert (strcmp(device, "UNKNOWN vendor/model") == 0);
deviceid_decode_mice ("", comment_out, sizeof(comment_out), device, sizeof(device));
dw_printf ("%s %s\n", comment_out, device);
assert (strcmp(comment_out, "") == 0);
assert (strcmp(device, "UNKNOWN vendor/model") == 0);
// Tocall // Tocall