adadded tests for enum serialization to test files

main
Sara 2023-09-13 12:46:12 +02:00
parent e34a00086a
commit 72d9d73f57
1 changed files with 3 additions and 1 deletions

View File

@ -26,7 +26,9 @@ int main(int argc, char* argv[]) {
.other_struct = a, .other_struct = a,
.other_struct_typedef = { .other_struct_typedef = {
.b = -20, .u = 13, .a = -3.14, .dyn_str = "AWESOMEE" .b = -20, .u = 13, .a = -3.14, .dyn_str = "AWESOMEE"
} },
.other_enum = VALUE_B,
.other_enum_typedef = VALUE_C
}; };
int required = struct_B_json_length(&b); int required = struct_B_json_length(&b);