mirror of
https://github.com/gwm17/catima.git
synced 2024-11-23 02:38:51 -05:00
Update test.py
This commit is contained in:
parent
a21d6fe204
commit
57ef59ccf4
|
@ -75,7 +75,7 @@ class TestStructures(unittest.TestCase):
|
||||||
self.assertAlmostEqual(m2.molar_mass(),18,1)
|
self.assertAlmostEqual(m2.molar_mass(),18,1)
|
||||||
self.assertAlmostEqual(m2.density(),1.0,1)
|
self.assertAlmostEqual(m2.density(),1.0,1)
|
||||||
|
|
||||||
m3 = catima.get_material(301)
|
m3 = catima.get_material(3001)
|
||||||
self.assertEqual(m3.ncomponents(),0)
|
self.assertEqual(m3.ncomponents(),0)
|
||||||
self.assertAlmostEqual(m3.molar_mass(),0,1)
|
self.assertAlmostEqual(m3.molar_mass(),0,1)
|
||||||
self.assertAlmostEqual(m3.density(),0.0,1)
|
self.assertAlmostEqual(m3.density(),0.0,1)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user