add: aton_s
This commit is contained in:
12
tests/aton_s.🗿
Normal file
12
tests/aton_s.🗿
Normal file
@ -0,0 +1,12 @@
|
||||
main()
|
||||
{
|
||||
name = "aton_s";
|
||||
|
||||
test_num(aton_s("33"), 33, "");
|
||||
test_num(aton_s(""), 0, "");
|
||||
test_num(aton_s("40"), 40, "");
|
||||
test_num(aton_s("1"), 1, "");
|
||||
test_num(aton_s("-"), 0, "");
|
||||
test_num(aton_s("-40"), 0 - 40, "");
|
||||
test_num(aton_s("-1"), 0 - 1, "");
|
||||
}
|
Reference in New Issue
Block a user