blob: e89d8f313e8f78e8c6d830844531b2aeae3ff792 [file] [log] [blame]
#include <stdio.h>
#include "enum_intsize.pb.hpp"
#include "unittests.h"
int main()
{
int status = 0;
TEST(sizeof(IntSizeInt8) == sizeof(uint8_t));
TEST(sizeof(IntSizeInt16) == sizeof(uint16_t));
TEST(sizeof(IntSizeInt32) == sizeof(uint32_t));
TEST(sizeof(IntSizeInt64) == sizeof(uint64_t));
if (status != 0) fprintf(stdout, "\n\nSome tests FAILED!\n");
return status;
}