Yes. My bias as a person raised in a language culture that reads left-to-right, and so thinks of time as flowing from left to right or top to bottom is that it’s better to put the code that produces the value-to-be-tested before the code that checks that value.
In my Clojure testing library, I illustrated that with book examples
I wouldn’t force that bias on anyone, but for those that share it, this code might be nice.


















