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
4
int
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
}
main
int main()
Definition
enumminmax_unittests.c:4
TEST
#define TEST(x)
Definition
test.h:3
unittests.h
COMMENT
#define COMMENT(x)
Definition
unittests.h:17
libs
nanopb
nanopb
tests
enum_minmax
enumminmax_unittests.c
Generated on Sun Sep 1 2024 18:22:52 for MOS Source Code by
1.12.0