-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of https://github.com/MilanSkocic/iapws into dev
- Loading branch information
Showing
14 changed files
with
130 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
r"""Test R283""" | ||
import unittest | ||
from .. import r283 | ||
|
||
|
||
class TestH2O(unittest.TestCase): | ||
r"""Test module r283 from pyiapws library.""" | ||
def test_Tc_H2O(self): | ||
expected = 647.096 | ||
value = r283.Tc_H2O | ||
self.assertAlmostEqual(value, expected, places=3) | ||
def test_pc_H2O(self): | ||
expected = 22.064 | ||
value = r283.pc_H2O | ||
self.assertAlmostEqual(value, expected, places=3) | ||
def test_rhoc_H2O(self): | ||
expected = 322.0 | ||
value = r283.rhoc_H2O | ||
self.assertAlmostEqual(value, expected, places=1) | ||
|
||
class TestD2O(unittest.TestCase): | ||
r"""Test module r283 from pyiapws library.""" | ||
def test_Tc_D2O(self): | ||
expected = 643.847 | ||
value = r283.Tc_D2O | ||
self.assertAlmostEqual(value, expected, places=3) | ||
def test_pc_D2O(self): | ||
expected = 21.671 | ||
value = r283.pc_D2O | ||
self.assertAlmostEqual(value, expected, places=3) | ||
def test_rhoc_D2O(self): | ||
expected = 356.0 | ||
value = r283.rhoc_D2O | ||
self.assertAlmostEqual(value, expected, places=1) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.