)", num_nest_levels - 1).c_str(),
StringUtilities::RepeatString(R"(
)", num_nest_levels - 1).c_str());
FormatIndependentDebugTracker format_independent_tracker;
ElementDocument* document = context->LoadDocumentFromMemory(document_rml);
document->Show();
TestsShell::RenderLoop();
int num_flex_formats = 0;
for (const auto& entry : format_independent_tracker.GetEntries())
{
if (entry.context_type == FormattingContextType::Flex && !entry.from_cache)
num_flex_formats += 1;
}
INFO(format_independent_tracker.ToString());
CHECK(num_flex_formats == expected_num_nest_levels_versus_num_flex_formats.at(num_nest_levels));
document->Close();
}
TestsShell::ShutdownShell();
}
#endif // RMLUI_DEBUG