shouldBeEmpty

Verify that rng is empty.

  1. void shouldBeEmpty(R rng, string file, size_t line)
    void
    shouldBeEmpty
    (
    R
    )
    (
    const auto ref R rng
    ,
    string file = __FILE__
    ,
    size_t line = __LINE__
    )
    if (
    isInputRange!R
    )
  2. void shouldBeEmpty(shared(R) rng, string file, size_t line)
  3. void shouldBeEmpty(T aa, string file, size_t line)

Throws

UnitTestException on failure.

Meta