Midje
Midje copied to clipboard
`provided` either?
I thoroughly looked through the docs, so this is at the very least missing documentation. I'm trying to achieve e.g.
(fact
(fizz-or-buzz? ..n..) => true
(provided (either (fizz? ..n..) (buzz? ..n..)) => true))
Is there any way to achieve this in Midje?