The OpenD Programming Language

should

  1. Should!T should(T value)
  2. void should(T value, R expected, string file, int line)
    void
    should
    (
    alias fun = "a == b"
    T
    R
    )
    (
    const T value
    ,
    const R expected
    ,
    string file = __FILE__
    ,
    int line = __LINE__
    )

Examples

1.0.should!"a < b"(1.3);

Meta