Asserts that a condition is true.
AssertException otherwise
assertTrue(true); assertTrue("foo" in ["foo" : "bar"]); auto exception = expectThrows!AssertException(assertTrue(false)); assertEquals("Assertion failure", exception.msg);
See Implementation
Asserts that a condition is true.