ftomassetti / civs

Civ simulator
Apache License 2.0
141 stars 11 forks source link

Add code-coverage #1

Closed ftomassetti closed 10 years ago

ftomassetti commented 10 years ago

Ok, I am using lein-cloverage.

Now I should use some techniques to mock rand.

I could use with-redefs (http://stackoverflow.com/questions/17030333/clojure-elegant-mocking-of-functions-with-different-values)

ftomassetti commented 10 years ago

Ok, it remains an open task to improve code coverage