expectNoOverflow function
Fail the current test (with a readable report) if report found any
overflow. Passes silently otherwise.
Implementation
void expectNoOverflow(LayoutReport report) {
if (report.hasOverflow) {
fail(report.describe());
}
}