shouldBeEmpty

Verify that rng is empty.

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

Throws

UnitTestException on failure.

Meta