adadded tests for enum serialization to test files
parent
e34a00086a
commit
72d9d73f57
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue