ValueCheck

org.specs2.matcher.ValueCheck
See theValueCheck companion object
trait ValueCheck[T]

Common interface for checks of a value of type T:

  • a expected single value of type T
  • a Matcher[T]
  • a function returning a type R having an AsResult instance

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
Self type

Members list

Value members

Abstract methods

def check: T => Result
def checkNot: T => Result

Concrete methods

def negate: ValueCheck[T]