AssertAllException otherwise
assertAll( assertTrue(true), assertFalse(false), ); auto exception = expectThrows!AssertException(assertAll( assertTrue(false), assertFalse(true), )); assertTrue(exception.msg.canFind("2 assertion failures"), exception.msg);
assertAll!(void delegate() @safe)( assertTrue(true), assertFalse(false), );
assertAll!(void delegate() pure)( assertTrue(true), assertFalse(false), );
Asserts that all assertions pass.