add: get_raw_bit
This commit is contained in:
23
tests/test.🗿
23
tests/test.🗿
@ -74,11 +74,30 @@ test_tab_str(value, reach_value, description)
|
||||
putstr(": ERROR: ");
|
||||
putstr(", ");
|
||||
putstr(description);
|
||||
putstr(" [");
|
||||
puttab_str(reach_value);
|
||||
putstr(" != ");
|
||||
puttab_str(value);
|
||||
putstr("]");
|
||||
}
|
||||
else
|
||||
{
|
||||
putstr(": OK: ");
|
||||
putstr(description);
|
||||
}
|
||||
wrt '\n';
|
||||
}
|
||||
|
||||
|
||||
test_tab_num(value, reach_value, size, description)
|
||||
{
|
||||
putstr(name);
|
||||
if (tabcmp_num(value, reach_value, size))
|
||||
{
|
||||
putstr(": ERROR: ");
|
||||
putstr(", ");
|
||||
putstr(description);
|
||||
puttab_num(reach_value, size);
|
||||
putstr(" != ");
|
||||
puttab_num(value, size);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user