blob: 048592ed838ed58560b8d67b410d6ec0db6bd341 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
# 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)
|