MOS Source Code
Loading...
Searching...
No Matches
enumminmax_unittests.c
Go to the documentation of this file.
1#include "unittests.h"
2#include "enumminmax.pb.h"
3
4int main()
5{
6 int status = 0;
7
8 COMMENT("Verify min/max on unsorted enum");
9 {
10 TEST(_Language_MIN == Language_UNKNOWN);
11 TEST(_Language_MAX == Language_SPANISH_ES_MX);
12 TEST(_Language_ARRAYSIZE == (Language_SPANISH_ES_MX+1));
13 }
14
15 return status;
16}
int main()
#define TEST(x)
Definition test.h:3
#define COMMENT(x)
Definition unittests.h:17