From 4b884b632643fa71c951e9da4c20c6ea6ce9724d Mon Sep 17 00:00:00 2001 From: Sarah Shi Date: Tue, 26 Mar 2024 16:21:42 -0400 Subject: [PATCH] PyIRoGlass v0.6.1! --- UnitTests/test_concentration.py | 6 +++--- UnitTests/test_density_epsilon.py | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/UnitTests/test_concentration.py b/UnitTests/test_concentration.py index c7c8c0ca..958afad0 100644 --- a/UnitTests/test_concentration.py +++ b/UnitTests/test_concentration.py @@ -36,7 +36,7 @@ def test_beer_lambert(self): result = pig.beer_lambert( self.molar_mass, self.absorbance, self.density, self.thickness, self.epsilon ) - expected = 4.036918931617838 + expected = 4.034754627293028 self.assertAlmostEqual( result, expected, @@ -196,7 +196,7 @@ def test_concentration(self): # OL53 concentrations = pig.calculate_concentrations( self.PH, self.MI_Composition, self.thickness, None ) - expected_H2O = 4.03475462729302 + expected_H2O = 4.036918931617838 expected_CO2 = 735.058557154539 self.assertAlmostEqual( float(concentrations["H2Ot_MEAN"].iloc[0]), @@ -268,7 +268,7 @@ def test_concentration(self): self.PH, self.MI_Composition, self.thickness, None ) expected_H2O = 2.54386321287308 - expected_CO2 = 752.347159392848 + expected_CO2 = 752.5429016613664 self.assertAlmostEqual( float(concentrations["H2Ot_MEAN"].iloc[0]), expected_H2O, diff --git a/UnitTests/test_density_epsilon.py b/UnitTests/test_density_epsilon.py index ec267ec6..53b3b2f2 100644 --- a/UnitTests/test_density_epsilon.py +++ b/UnitTests/test_density_epsilon.py @@ -85,7 +85,7 @@ def test_epsilon_calculation(self): epsilon_h2ot = float(epsilon["epsilon_H2Ot_3550"].iloc[0]) expected_epsilon_h2ot = 64.49365540510483 sigma_epsilon_h2ot = float(epsilon["sigma_epsilon_H2Ot_3550"].iloc[0]) - expected_sigma_epsilon_h2ot = 7.37609147230662 + expected_sigma_epsilon_h2ot = 7.380834041750025 self.assertAlmostEqual( tau, expected_tau,