mirror of
https://github.com/D4C1-Labs/Flipper-ARF.git
synced 2026-05-14 21:25:04 +00:00
15 lines
388 B
Python
15 lines
388 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_intsize_unittests.cc",
|
|
"enumsizes.pb.c",
|
|
"$COMMON/pb_encode.o",
|
|
"$COMMON/pb_decode.o",
|
|
"$COMMON/pb_common.o"])
|
|
env.RunTest(p)
|
|
|