testing

Testing tools, testing philosophy & methodology...
seancorfield 2018-07-06T08:27:30.000263Z

@lumpy that's because each time you call complement you get a new anonymous function back. If you (def not-after? (complement after?)) and return after? or not-after? instead, it should work.

lumpy 2018-07-06T12:05:33.000060Z

Thanks that makes sense. So basically you shouldn’t return anonymous functions if you want to test them.