Stefan-Endres / DWPM-Mixture-Model

Phase seperation calculation using the DWPM mixture rule.
7 stars 3 forks source link

Proper unit testing #9

Closed alchemyst closed 8 years ago

alchemyst commented 8 years ago

I've wrapped the test cases up using the unittest module and while I was at it I created a nicer interface for specifying test functions with classes. This should give you a good start to using unit tests. Currently I think Spyder doesn't run unit tests nicely. I highly recommend PyCharm CE which will run the tests in a nice little test window.