forked from starnakin/IronGOLEM
13 lines
276 B
Plaintext
13 lines
276 B
Plaintext
main()
|
|
{
|
|
name = "aton_s";
|
|
|
|
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, "");
|
|
}
|