mirror of https://github.com/wb2osz/direwolf.git
Add another test case.
This commit is contained in:
parent
0d7e296d6d
commit
aede01d6ac
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue