IronGOLEM/tests/aton_s.🗿

13 lines
276 B
Plaintext
Raw Permalink Normal View History

2023-06-18 14:07:13 -04:00
main()
{
name = "aton_s";
2023-06-18 14:25:15 -04:00
test_num_s(aton_s("33"), 33, "");
test_num_s(aton_s(""), 0, "");
test_num_s(aton_s("40"), 40, "");
test_num_s(aton_s("1"), 1, "");
test_num_s(aton_s("-"), 0, "");
test_num_s(aton_s("-40"), 0 - 40, "");
test_num_s(aton_s("-1"), 0 - 1, "");
2023-06-18 14:07:13 -04:00
}