doc / ch.tutteli.atrium.api.infix.en_GB / notToEqualOneOf

notToEqualOneOf

infix fun <T> Expect<T>.notToEqualOneOf(values: Values<T>): Expect<T> (source)

Expects that the subject of this expectation is not (equal to) in values.

expect(99) notToEqualOneOf values(1, 2, 3, 4)

fails {
    expect(1) notToEqualOneOf values(1, 2, 3, 4)
}

Parameters

values - The values which are not expected to be contained within the subject of this expectation -- use the function values(t, ...) to create a Values.

Return
an Expect for the subject of this expectation.

Since
0.17.0