Skip to content

Commit

Permalink
Test for issue #4
Browse files Browse the repository at this point in the history
  • Loading branch information
jrsmith3 committed Sep 17, 2014
1 parent a444fbb commit b6fd882
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/test_uiebi.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,16 @@ def test_issue_2_uibei(self):
except:
self.fail("Error raised with arguments.")

def test_issue_4(self):
"""
uibei shouldn't fail when energy_lo == chem_potential
"""
try:
ibei.uibei(2, 1., 300., 1.)
except:
self.fail("uibei fails when energy_lo == chem_potential")



class CalculatorsArgsWrongType(unittest.TestCase):
"""
Expand Down

0 comments on commit b6fd882

Please sign in to comment.