I have a problem with is in clojure.test . Is there an is-not
I can use? If I simply test (is (not ...)
) then the failure messages are uninformative. If (is (> a b))
fails, I get a message like (not (> 1 2)
but when (is (not (> a b)))
fails I just get a message (not (not true))
. Certainly for >
I could choose a better predicate for the test, but in general (is (f a ...))
vs (is (not (f a ...)))
is problematic.