Re: Best way to unit test

2018-03-29 Thread Moe Aboulkheir
more than once, converting them from strings elsewhere, and passing them around as numbers may be more convenient. validate-date just becomes <=, in that case, and may not require a test. Take care, Moe On Thu, Mar 29, 2018 at 2:20 AM, bj <pbi...@gmail.com> wrote: > What is the best w

Best way to unit test

2018-03-28 Thread bj
What is the best way to write unit test case for following situation? [date-for-validation] (if (>= (Integer/parseInt current-date) (Integer/parseInt date-for-validation)) true false)) -- You received this message because you are subscribed to the Google Groups "Clojure" g