- shouldBeEmptyvoid shouldBeEmpty(R rng, string file, size_t line) 
- Verify that rng is empty. 
- shouldBeEmptyvoid shouldBeEmpty(T aa, string file, size_t line) 
- shouldBeFalsevoid shouldBeFalse(E condition, string file, size_t line) 
- Verify that the condition is false. 
- shouldBeGreaterThanvoid shouldBeGreaterThan(T t, U u, string file, size_t line) 
- Verify that t is greater than u. 
- shouldBeInvoid shouldBeIn(T value, U container, string file, size_t line) 
- * Verify that the value is in the container.
 * Throws: UnitTestException on failure 
- shouldBeInvoid shouldBeIn(T value, U container, string file, size_t line) 
- Verify that the value is in the container. 
- shouldBeNullvoid shouldBeNull(T value, string file, size_t line) 
- Verify that the value is null. 
- shouldBeSameSetAsvoid shouldBeSameSetAs(V value, E expected, string file, size_t line) 
- Verify that t and u represent the same set (ordering is not important). 
- shouldBeSmallerThanvoid shouldBeSmallerThan(T t, U u, string file, size_t line) 
- Verify that t is smaller than u. 
- shouldBeTruevoid shouldBeTrue(E condition, string file, size_t line) 
- Verify that the condition is true. 
- shouldEqualvoid shouldEqual(V value, E expected, string file, size_t line) 
- Verify that two values are the same.
Floating point values are compared using std.math.approxEqual. 
- shouldNotBeEmptyvoid shouldNotBeEmpty(R rng, string file, size_t line) 
- Verify that rng is not empty. 
- shouldNotBeEmptyvoid shouldNotBeEmpty(T aa, string file, size_t line) 
- Verify that aa is not empty. 
- shouldNotBeInvoid shouldNotBeIn(T value, U container, string file, size_t line) 
- Verify that the value is not in the container. 
- shouldNotBeInvoid shouldNotBeIn(T value, U container, string file, size_t line) 
- Verify that the value is not in the container. 
- shouldNotBeNullvoid shouldNotBeNull(T value, string file, size_t line) 
- Verify that the value is not null. 
- shouldNotBeSameSetAsvoid shouldNotBeSameSetAs(V value, E expected, string file, size_t line) 
- Verify that value and expected do not represent the same set (ordering is not important). 
- shouldNotEqualvoid shouldNotEqual(V value, E expected, string file, size_t line) 
- Verify that two values are not the same. 
- shouldNotThrowvoid shouldNotThrow(E expr, string file, size_t line) 
- Verify that expr does not throw the templated Exception class. 
- shouldThrowvoid shouldThrow(E expr, string file, size_t line) 
- Verify that expr throws the templated Exception class.
This succeeds if the expression throws a child class of
the template parameter. 
- shouldThrowExactlyvoid shouldThrowExactly(E expr, string file, size_t line) 
- Verify that expr throws the templated Exception class.
This only succeeds if the expression throws an exception of
the exact type of the template parameter. 
- utFailvoid utFail(string output, string file, size_t line) 
- Undocumented in source. Be warned that the author may not have intended to support it. 
This module implements custom assertions via shouldXXX functions that throw exceptions containing information about why the assertion failed.