mirror of
https://github.com/google/pebble.git
synced 2025-11-22 07:20:55 -05:00
Import of the watch repository from Pebble
This commit is contained in:
16
third_party/nanopb/tests/enum_minmax/enumminmax_unittests.c
vendored
Normal file
16
third_party/nanopb/tests/enum_minmax/enumminmax_unittests.c
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
#include "unittests.h"
|
||||
#include "enumminmax.pb.h"
|
||||
|
||||
int main()
|
||||
{
|
||||
int status = 0;
|
||||
|
||||
COMMENT("Verify min/max on unsorted enum");
|
||||
{
|
||||
TEST(_Language_MIN == Language_UNKNOWN);
|
||||
TEST(_Language_MAX == Language_SPANISH_ES_MX);
|
||||
TEST(_Language_ARRAYSIZE == (Language_SPANISH_ES_MX+1));
|
||||
}
|
||||
|
||||
return status;
|
||||
}
|
||||
Reference in New Issue
Block a user