From 9aac0fd369b87e965fb34b5168646387de7ea1cd Mon Sep 17 00:00:00 2001 From: Stefan Boberg Date: Mon, 23 Feb 2026 11:19:52 +0100 Subject: implement yaml generation (#774) this implements a yaml generation strategy similar to the JSON generation where we just build a string instead of building a ryml tree. This also removes the dependency on ryml for reduced binary/build times. --- thirdparty/ryml/test/test_nested_seqx2.cpp | 133 ----------------------------- 1 file changed, 133 deletions(-) delete mode 100644 thirdparty/ryml/test/test_nested_seqx2.cpp (limited to 'thirdparty/ryml/test/test_nested_seqx2.cpp') diff --git a/thirdparty/ryml/test/test_nested_seqx2.cpp b/thirdparty/ryml/test/test_nested_seqx2.cpp deleted file mode 100644 index 1361ae0ab..000000000 --- a/thirdparty/ryml/test/test_nested_seqx2.cpp +++ /dev/null @@ -1,133 +0,0 @@ -#include "./test_group.hpp" - -namespace c4 { -namespace yml { - -CASE_GROUP(NESTED_SEQX2) -{ - -ADD_CASE_TO_GROUP("nested seq x2, empty, oneline", -R"([[], [], []])", - L{SEQ, SEQ, SEQ} -); - -ADD_CASE_TO_GROUP("nested seq x2, explicit, same line", -R"([[00, 01, 02], [10, 11, 12], [20, 21, 22]])", - L{ - N{L{N{"00"}, N{"01"}, N{"02"}}}, - N{L{N{"10"}, N{"11"}, N{"12"}}}, - N{L{N{"20"}, N{"21"}, N{"22"}}}, - } -); - -ADD_CASE_TO_GROUP("nested seq x2, explicit first+last level, same line, no spaces", -R"([[00,01,02],[10,11,12],[20,21,22]])", - L{ - N{L{N{"00"}, N{"01"}, N{"02"}}}, - N{L{N{"10"}, N{"11"}, N{"12"}}}, - N{L{N{"20"}, N{"21"}, N{"22"}}}, - } -); - -ADD_CASE_TO_GROUP("nested seq x2, explicit", -R"([ -[00, 01, 02], -[10, 11, 12], -[20, 21, 22], -])", - L{ - N{L{N{"00"}, N{"01"}, N{"02"}}}, - N{L{N{"10"}, N{"11"}, N{"12"}}}, - N{L{N{"20"}, N{"21"}, N{"22"}}}, - } -); - -ADD_CASE_TO_GROUP("nested seq x2", -R"( -- - 00 - - 01 - - 02 -- - 10 - - 11 - - 12 -- - 20 - - 21 - - 22 -)", - L{ - N{L{N{"00"}, N{"01"}, N{"02"}}}, - N{L{N{"10"}, N{"11"}, N{"12"}}}, - N{L{N{"20"}, N{"21"}, N{"22"}}}, - } -); - -ADD_CASE_TO_GROUP("nested seq x2, next line", -R"( -- - - 00 - - 01 - - 02 -- - - 10 - - 11 - - 12 -- - - 20 - - 21 - - 22 -)", - L{ - N{L{N{"00"}, N{"01"}, N{"02"}}}, - N{L{N{"10"}, N{"11"}, N{"12"}}}, - N{L{N{"20"}, N{"21"}, N{"22"}}}, - } -); - -ADD_CASE_TO_GROUP("nested seq x2, all next line", -R"( -- - - - 00 - - - 01 - - - 02 -- - - - 10 - - - 11 - - - 12 -- - - - 20 - - - 21 - - - 22 -)", - L{ - N{L{N{"00"}, N{"01"}, N{"02"}}}, - N{L{N{"10"}, N{"11"}, N{"12"}}}, - N{L{N{"20"}, N{"21"}, N{"22"}}}, - } -); - -ADD_CASE_TO_GROUP("nested seq x2, implicit first, explicit last level", -R"( -- [00, 01, 02] -- [10, 11, 12] -- [20, 21, 22] -)", - L{ - N{L{N{"00"}, N{"01"}, N{"02"}}}, - N{L{N{"10"}, N{"11"}, N{"12"}}}, - N{L{N{"20"}, N{"21"}, N{"22"}}}, - } -); -} - - -} // namespace yml -} // namespace c4 -- cgit v1.2.3