79TEST_CASE(
"check valid dom config",
"[parseDOMConfiguration]")
82 REQUIRE(config.has_value() ==
true);
84 const auto [
dom_id, probe_configs, write_to_debug_flag] = config.value();
86 REQUIRE(
dom_id == 813536729);
87 REQUIRE(probe_configs.size() == 5);
88 REQUIRE(probe_configs[0].
id == 27);
89 REQUIRE(probe_configs[1].
id == -28);
90 REQUIRE(probe_configs[2].
id == 34);
91 REQUIRE(probe_configs[3].
id == 35);
92 REQUIRE(probe_configs[4].
id == 48);
93 REQUIRE(probe_configs[0].threshold == 2000);
94 REQUIRE(probe_configs[1].threshold == 3001);
95 REQUIRE(probe_configs[2].threshold == 4002);
96 REQUIRE(probe_configs[3].threshold == 5003);
97 REQUIRE(probe_configs[4].threshold == 6004);
98 REQUIRE(write_to_debug_flag == 42);