[liba] stdint test

This commit is contained in:
Romain Goyet
2015-09-22 16:11:25 +02:00
parent 801b244e7a
commit 1f7ed32704

12
liba/test/stdint.c Normal file
View 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);
}