shouldNotBeEmpty

Verify that rng is not empty.

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

Throws

UnitTestException on failure.

Meta