InequalityFilter

class InequalityFilter<T>(unexpectedValue: T)(source)

A filter, which fails when the given value is unexpectedValue, succeeds otherwise, and never skips.

Parameters

T

The type the filter accepts

unexpectedValue

The value the filter should fail for

Constructors

Link copied to clipboard
constructor(unexpectedValue: T)

Functions

Link copied to clipboard
open fun evaluate(value: T): <Error class: unknown class><out Unit>
Link copied to clipboard
open override fun toString(): String