mirror of
https://github.com/google/pebble.git
synced 2025-03-15 16:51:21 +00:00
12 lines
336 B
Python
12 lines
336 B
Python
# Test that different sizes of enum fields are properly encoded and decoded.
|
|
|
|
Import('env')
|
|
|
|
env.NanopbProto('enumsizes')
|
|
|
|
p = env.Program(["enumsizes_unittests.c",
|
|
"enumsizes.pb.c",
|
|
"$COMMON/pb_encode.o",
|
|
"$COMMON/pb_decode.o",
|
|
"$COMMON/pb_common.o"])
|
|
env.RunTest(p)
|