| 1527 | } |
| 1528 | |
| 1529 | SimpleStruct build_simple_struct() { |
| 1530 | SimpleStruct obj; |
| 1531 | obj.f1 = {{1, 1.0}, {2, 2.0}}; |
| 1532 | obj.f2 = 39; |
| 1533 | obj.f3 = Item{std::string("item")}; |
| 1534 | obj.f4 = std::string("f4"); |
| 1535 | obj.f5 = Color::White; |
| 1536 | obj.f6 = {std::string("f6")}; |
| 1537 | obj.f7 = 40; |
| 1538 | obj.f8 = 41; |
| 1539 | obj.last = 42; |
| 1540 | return obj; |
| 1541 | } |
| 1542 | |
| 1543 | void run_test_simple_struct(const std::string &data_file) { |
| 1544 | auto bytes = read_file(data_file); |
no test coverage detected