Beispiel #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))
Beispiel #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))
Beispiel #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))
Beispiel #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))
 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))
 def test_toUnits_first(self):
     """
     Test the conversion of a reaction order of one to rate coefficient
     units.
     """
     self.assertEqual('s^-1', getRateCoefficientUnitsFromReactionOrder(1))
 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))
 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))