From 72d9d73f5743b2006bdac1fa266d79bac6566660 Mon Sep 17 00:00:00 2001 From: Sara Date: Wed, 13 Sep 2023 12:46:12 +0200 Subject: [PATCH] adadded tests for enum serialization to test files --- test_files/implementation.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test_files/implementation.c b/test_files/implementation.c index 06d5d4d..0877ee9 100644 --- a/test_files/implementation.c +++ b/test_files/implementation.c @@ -26,7 +26,9 @@ int main(int argc, char* argv[]) { .other_struct = a, .other_struct_typedef = { .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);