add: signed number

This commit is contained in:
2023-06-18 20:25:15 +02:00
parent 0a152b9bef
commit 57e78cb70a
4 changed files with 44 additions and 11 deletions

View File

@ -44,6 +44,28 @@ test_num(value, reach_value, description)
wrt '\n';
}
test_num_s(value, reach_value, description)
{
putstr(name);
if (value != reach_value)
{
putstr(": ERROR: ");
putstr(", ");
putstr(description);
putstr(" [");
putnum_s(reach_value);
putstr(" != ");
putnum_s(value);
putstr("]");
}
else
{
putstr(": OK: ");
putstr(description);
}
wrt '\n';
}
test_tab_str(value, reach_value, description)
{
putstr(name);