FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 91d0764c authored by M.D. Driver's avatar M.D. Driver
Browse files

added missing assertion in test.

parent 6e9bc679
No related branches found
No related tags found
No related merge requests found
......@@ -29,6 +29,7 @@ class FractionalOccupancyCalculatorTestCase(unittest.TestCase):
expected_value = (55.35 * 4.0 /300.0) + (0.001/300)
actual_value = fractionaloccupancycalculator.calculate_fractional_occupancy_for_phase("resources/watersolvent.xml",
"water", 0.001)
self.assertAlmostEqual(expected_value, actual_value)
def test_calculate_fractional_occupancy_contribution_from_solute(self):
"""Test to see if expected value is returned.
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment