mirror of
https://github.com/google/pebble.git
synced 2025-05-28 05:53:12 +00:00
Import of the watch repository from Pebble
This commit is contained in:
commit
3b92768480
10334 changed files with 2564465 additions and 0 deletions
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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue