1 # Verify that the maximum encoded size is calculated properly 2 # for enums. 3 4 Import('env') 5 6 env.NanopbProto('enums') 7 8 p = env.Program(["enum_encoded_size.c", 9 "enums.pb.c", 10 "$COMMON/pb_encode.o", 11 "$COMMON/pb_common.o"]) 12 env.RunTest(p) 13 14