Matches if all elements are matching a "like" function
Matches if all elements are matching a "like" function
a matcher checking if the elements are ordered
COLLECTION MATCHERS
COLLECTION MATCHERS
ELEMENTS MATCHERS
ELEMENTS MATCHERS
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
Matches if there is one element in the traversable verifying the function
parameter: (traversable.exists(function(_))
Matches if there is one element in the traversable verifying the function
parameter: (traversable.exists(function(_))
Matches if all elements are matching a "like" function
Matches if all elements are matching a "like" function
alias for haveSize
alias for haveSize
Matches if there is at least one matching a "like" function
Matches if there is at least one matching a "like" function
match if there is a way to size T
match if there is a way to size T
Matches if there l contains the same elements as the Traversable traversable
.
Matches if there l contains the same elements as the Traversable traversable
.
any java collection has a size
any java collection has a size
transform a value to a zero-arg function returning that value
transform a value to a zero-arg function returning that value
alias for haveSize
alias for haveSize
Matches if there is at least one matching a "like" function
Matches if there is at least one matching a "like" function
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 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
This implicit definition allows to declare a number of times
3.times
This implicit definition allows to declare a number of times
3.times
Matchers for traversables