mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-18 16:27:34 +01:00
[liba] stdint test
This commit is contained in:
12
liba/test/stdint.c
Normal file
12
liba/test/stdint.c
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <quiz.h>
|
||||
#include <stdint.h>
|
||||
#include <assert.h>
|
||||
|
||||
QUIZ_CASE(liba_stdint) {
|
||||
int8_t i = -1;
|
||||
int j = -1;
|
||||
assert(i == -1);
|
||||
assert(i == j);
|
||||
assert(sizeof(int8_t) == 1);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user