notToEqualOneOf

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

Expects that the subject of this expectation is not equal to any value of values.

Return

an Expect for the subject of this expectation.

Since

0.17.0

Parameters

values

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

Samples

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

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