add: defini
This commit is contained in:
11
tests/define.🗿
Normal file
11
tests/define.🗿
Normal file
@ -0,0 +1,11 @@
|
||||
main()
|
||||
{
|
||||
name = "define";
|
||||
|
||||
test_num_s(NUM_MAX, 0 - 1, "NUM_MAX");
|
||||
test_num_s(NUM_S_MAX, 0xffff / 2, "NUM_S_MAX");
|
||||
test_num_s(NUM_MIN, 0, "NUM_MAX");
|
||||
test_num_s(NUM_S_MIN, 0xffff / 2 + 1, "NUM_S_MAX");
|
||||
test_num_s(NULL, 0, "NULL");
|
||||
test_num_s(ZIED, NUM_MAX, "ZIED");
|
||||
}
|
Reference in New Issue
Block a user