Expect.this

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

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

Meta