less

The word .less tests that the left-hand side is less than the expected value. It takes one parameter and terminates the phrase.

  1. void less(Should should, T expected, Fence _, string file, size_t line)
    void
    less
    (
    Should
    T
    )
    (
    Should should
    ,,
    Fence _ = Fence()
    ,
    string file = __FILE__
    ,
    size_t line = __LINE__
    )
    if (
    isInstanceOf!(ShouldType, Should)
    )
  2. auto less(Should should)

Examples

5.should.be.less(6);

Meta