Skip to content

Commit

Permalink
Cleaned up tests, more to do
Browse files Browse the repository at this point in the history
  • Loading branch information
CaymanUnterborn committed Feb 25, 2016
1 parent b47c22f commit 74be206
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/test_eos.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,10 +108,6 @@ def test_reference_values_noG(self):
self.assertFloatEqual(Volume_test, rock.params['V_0'])
Kt_test = eos.isothermal_bulk_modulus(pressure, 300., rock.params['V_0'], rock.params)
self.assertFloatEqual(Kt_test, rock.params['K_0'])
# K_S is based on 0 reference temperature:
Kt_test = eos.isothermal_bulk_modulus(pressure, 0., rock.params['V_0'], rock.params)
K_test = eos.adiabatic_bulk_modulus(pressure, 0., rock.params['V_0'], rock.params)
self.assertFloatEqual(K_test, Kt_test)
Density_test = eos.density(rock.params['V_0'], rock.params)
self.assertFloatEqual(Density_test, rock.params['molar_mass'] / rock.params['V_0'])

Expand All @@ -125,10 +121,6 @@ def test_reference_values_noG(self):
self.assertFloatEqual(Volume_test, rock.params['V_0'])
Kt_test = eos.isothermal_bulk_modulus(pressure, 300., rock.params['V_0'], rock.params)
self.assertFloatEqual(Kt_test, rock.params['K_0'])
# K_S is based on 0 reference temperature:
Kt_test = eos.isothermal_bulk_modulus(pressure, 0., rock.params['V_0'], rock.params)
K_test = eos.adiabatic_bulk_modulus(pressure, 0., rock.params['V_0'], rock.params)
self.assertFloatEqual(K_test, Kt_test)
Density_test = eos.density(rock.params['V_0'], rock.params)
self.assertFloatEqual(Density_test, rock.params['molar_mass'] / rock.params['V_0'])

Expand Down

0 comments on commit 74be206

Please sign in to comment.