• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Test that different sizes of enum fields are properly encoded and decoded.
2
3Import('env')
4
5env.NanopbProto('enumsizes')
6
7p = env.Program(["enumsizes_unittests.c",
8                 "enumsizes.pb.c",
9                 "$COMMON/pb_encode.o",
10                 "$COMMON/pb_decode.o",
11                 "$COMMON/pb_common.o"])
12env.RunTest(p)
13