aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/ryml/test/test_nested_mapx2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/ryml/test/test_nested_mapx2.cpp')
-rw-r--r--thirdparty/ryml/test/test_nested_mapx2.cpp73
1 files changed, 0 insertions, 73 deletions
diff --git a/thirdparty/ryml/test/test_nested_mapx2.cpp b/thirdparty/ryml/test/test_nested_mapx2.cpp
deleted file mode 100644
index b1856fa08..000000000
--- a/thirdparty/ryml/test/test_nested_mapx2.cpp
+++ /dev/null
@@ -1,73 +0,0 @@
-#include "./test_group.hpp"
-
-namespace c4 {
-namespace yml {
-
-CASE_GROUP(NESTED_MAPX2)
-{
-
-ADD_CASE_TO_GROUP("nested map x2, explicit, same line",
-R"({foo: {foo0: 00, bar0: 01, baz0: 02}, bar: {foo1: 10, bar1: 11, baz1: 12}, baz: {foo2: 20, bar2: 21, baz2: 22}})",
- L{
- N{"foo", L{N{"foo0", "00"}, N{"bar0", "01"}, N{"baz0", "02"}}},
- N{"bar", L{N{"foo1", "10"}, N{"bar1", "11"}, N{"baz1", "12"}}},
- N{"baz", L{N{"foo2", "20"}, N{"bar2", "21"}, N{"baz2", "22"}}},
- }
-);
-
-ADD_CASE_TO_GROUP("nested map x2, explicit",
-R"({
-foo: {foo0: 00, bar0: 01, baz0: 02},
-bar: {foo1: 10, bar1: 11, baz1: 12},
-baz: {foo2: 20, bar2: 21, baz2: 22}
-})",
- L{
- N{"foo", L{N{"foo0", "00"}, N{"bar0", "01"}, N{"baz0", "02"}}},
- N{"bar", L{N{"foo1", "10"}, N{"bar1", "11"}, N{"baz1", "12"}}},
- N{"baz", L{N{"foo2", "20"}, N{"bar2", "21"}, N{"baz2", "22"}}},
- }
-);
-
-ADD_CASE_TO_GROUP("nested map x2",
-R"(
-foo:
- foo0: 00
- bar0: 01
- baz0: 02
-bar:
- foo1: 10
- bar1: 11
- baz1: 12
-baz:
- foo2: 20
- bar2: 21
- baz2: 22
-)",
- L{
- N{"foo", L{N{"foo0", "00"}, N{"bar0", "01"}, N{"baz0", "02"}}},
- N{"bar", L{N{"foo1", "10"}, N{"bar1", "11"}, N{"baz1", "12"}}},
- N{"baz", L{N{"foo2", "20"}, N{"bar2", "21"}, N{"baz2", "22"}}},
- }
-);
-
-
-ADD_CASE_TO_GROUP("nested map x2, commented",
- R"(
-send_to:
- #host: 192.168.1.100
- #port: 7000
- host: 192.168.1.101
- port: 7001
- #host: 192.168.1.102
- #port: 7002
-)",
- L{
- N("send_to", L{
- N("host", "192.168.1.101"),
- N("port", "7001") })
- }
-);
-}
-
-} // namespace yml
-} // namespace c4