IronGOLEM/tests/test.🗿
2023-06-18 11:11:23 +02:00

24 lines
325 B
Plaintext

global name;
test_str(value, reach_value, description)
{
putstr(name);
if (value != reach_value)
{
putstr(": ERROR: ");
putstr(", ");
putstr(description);
putstr(" [");
putstr(reach_value);
putstr(" != ");
putstr(value);
putstr("]");
}
else
{
putstr(": OK: ");
putstr(description);
}
wrt '\n';
}