shouldBeEmpty

Verify that rng is empty.

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

Throws

UnitTestException on failure.

Meta