Expect.this

Constructor takes a Expected and creates a success result. Or takes an E and creates an unexpected result

  1. this(Expected value)
    struct Expect(T, E = Variant)
    this
    (
    Expected value
    )
    if (
    !is(E == void)
    )
  2. this(Unexpected value)

Meta