Stefan-Endres / DWPM-Mixture-Model

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

Improve coverage of tgo tests #10

Closed alchemyst closed 8 years ago

alchemyst commented 8 years ago

Use coverage to look at the coverage of your tests, which is not currently 100% in tgo.py and write tests which at least cover all the code you have written.

Stefan-Endres commented 8 years ago

Coverage report shows near 100% completion, the lines not run are due to the skipped test in the overflow error and the main pass in tgo.py etc.

$ coverage2 report
Name           Stmts   Miss  Cover
----------------------------------
tgo.py            60      2    97%
tgo_tests.py      68      3    96%
----------------------------------
TOTAL            128      5    96%

Full report: https://www.dropbox.com/sh/1q3q8jtjqotmzqx/AADMH-huncJcX6C2Jvzx8yJ4a?dl=0