FunctionConstraint
org.specs2.form.FunctionConstraint
case class FunctionConstraint[T, S](actual: T, executor: (T, T) => Result) extends Constraint[T]
This general constraint uses a function taking an actual value and an expected value to do the match.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalstrait Constraint[T]class Objecttrait Matchableclass Any
Members list
In this article