a matcher checking if the elements are ordered
COLLECTION MATCHERS
COLLECTION MATCHERS
ELEMENTS MATCHERS
ELEMENTS MATCHERS
Additional contain methods using to avoid automatic tuple conversions
Additional contain methods using to avoid automatic tuple conversions
match if a traversable contains all the elements of seq (and maybe more)
match if a traversable contains all the elements of seq (and maybe more)
match if a traversable contains one of (t1, t2)
match if a traversable contains one of (t1, t2)
match if traversable contains (x matches .
match if traversable contains (x matches .*+t+.*)
match if traversable contains (x matches p)
match if traversable contains (x matches p)
does a containAll comparison in both ways
does a containAll comparison in both ways
a check of type T can be downcasted implicitly to a check of type S >: T
a check of type T can be downcasted implicitly to a check of type S >: T
a function returning an object having an AsResult instance can check a value
a function returning an object having an AsResult instance can check a value
alias for haveSize
alias for haveSize
alias for haveSize
alias for haveSize
match if there is a way to size T
match if there is a way to size T
match if there is a way to size T
match if there is a way to size T
any java collection has a size
any java collection has a size
alias for haveSize
alias for haveSize
alias for haveSize
alias for haveSize
a Matcher[T] can check a value
a Matcher[T] can check a value
a partial function returning an object having an AsResult instance can check a value
a partial function returning an object having an AsResult instance can check a value
any scala array has a size
any scala array has a size
any scala collection has a size
any scala collection has a size
alias for haveSize
alias for haveSize
alias for haveSize
alias for haveSize
alias for beSorted
alias for beSorted
a regular string has a size, without having to be converted to an Traversable
a regular string has a size, without having to be converted to an Traversable
this allows the contain(string) matcher for StringMatchers to be used with a Traversable
this allows the contain(string) matcher for StringMatchers to be used with a Traversable
an expected value can be used to check another value
an expected value can be used to check another value