コード例 #1
0
 def test_toUnits_zeroth(self):
     """
     Test the conversion of a reaction order of zero to rate coefficient
     units.
     """
     self.assertEqual('mol/(m^3*s)',
                      getRateCoefficientUnitsFromReactionOrder(0))
コード例 #2
0
 def test_toUnits_second(self):
     """
     Test the conversion of a reaction order of two to rate coefficient
     units.
     """
     self.assertEqual('m^3/(mol*s)',
                      getRateCoefficientUnitsFromReactionOrder(2))
コード例 #3
0
 def test_toUnits_third(self):
     """
     Test the conversion of a reaction order of three to rate coefficient
     units.
     """
     self.assertEqual('m^6/(mol^2*s)',
                      getRateCoefficientUnitsFromReactionOrder(3))
コード例 #4
0
 def test_toUnits_first(self):
     """
     Test the conversion of a reaction order of one to rate coefficient
     units.
     """
     self.assertEqual('s^-1', getRateCoefficientUnitsFromReactionOrder(1))
コード例 #5
0
 def test_toUnits_second(self):
     """
     Test the conversion of a reaction order of two to rate coefficient
     units.
     """
     self.assertEqual('m^3/(mol*s)', getRateCoefficientUnitsFromReactionOrder(2))
コード例 #6
0
 def test_toUnits_first(self):
     """
     Test the conversion of a reaction order of one to rate coefficient
     units.
     """
     self.assertEqual('s^-1', getRateCoefficientUnitsFromReactionOrder(1))
コード例 #7
0
 def test_toUnits_zeroth(self):
     """
     Test the conversion of a reaction order of zero to rate coefficient
     units.
     """
     self.assertEqual('mol/(m^3*s)', getRateCoefficientUnitsFromReactionOrder(0))
コード例 #8
0
 def test_toUnits_third(self):
     """
     Test the conversion of a reaction order of three to rate coefficient
     units.
     """
     self.assertEqual('m^6/(mol^2*s)', getRateCoefficientUnitsFromReactionOrder(3))