Liking cljdoc? Tell your friends :D

midje.checking.checkers.collection-util


better-ofclj

(better-of candidate best-so-far)
source

collection-like?clj

(collection-like? x)

Extend coll? to include strings.

Extend coll? to include strings.
sourceraw docstring

expected-fits?clj

(expected-fits? actual expected)

Could expected fit as a subsequence of actual?

Could expected fit as a subsequence of actual?
sourceraw docstring

inexact-checker?clj

(inexact-checker? checker)

Can the checker potentially match non-unique elements in a seq? (Ex: regex #'a+' can match 'a' and 'aa'.)

Can the checker potentially match non-unique elements
in a seq? (Ex: regex #'a+' can match 'a' and 'aa'.)
sourceraw docstring

noted-falsehoodclj

(noted-falsehood & strings)

Produce a partially constructed chatty falsehood that contains a :notes key with the strings.

Produce a partially constructed chatty falsehood that contains
a :notes key with the strings.
sourceraw docstring

right-hand-singleton?clj

(right-hand-singleton? x)

The kind of thing that, in (contains X), means (contains [X])

The kind of thing that, in (contains X), means (contains [X])
sourceraw docstring

same-lengths?clj

(same-lengths? actual expected)
source

total-match?clj

(total-match? comparison)

Have all the expected elements been discovered?

Have all the expected elements been discovered?
sourceraw docstring

try-reclj

(try-re re x f)

Use the function (re-find or re-matches) to apply re to the thing. If function blows up, return a chatty failure about it.

Use the function (re-find or re-matches) to apply re to the thing.
If function blows up, return a chatty failure about it.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close