Пример #1
0
 def test_to_units_third(self):
     """
     Test the conversion of a reaction order of three to rate coefficient
     units.
     """
     self.assertEqual('m^6/(mol^2*s)',
                      get_rate_coefficient_units_from_reaction_order(3))
Пример #2
0
 def test_to_units_first(self):
     """
     Test the conversion of a reaction order of one to rate coefficient
     units.
     """
     self.assertEqual('s^-1',
                      get_rate_coefficient_units_from_reaction_order(1))
Пример #3
0
 def test_to_units_second(self):
     """
     Test the conversion of a reaction order of two to rate coefficient
     units.
     """
     self.assertEqual('m^3/(mol*s)',
                      get_rate_coefficient_units_from_reaction_order(2))
Пример #4
0
 def test_to_units_zeroth(self):
     """
     Test the conversion of a reaction order of zero to rate coefficient
     units.
     """
     self.assertEqual('mol/(m^3*s)',
                      get_rate_coefficient_units_from_reaction_order(0))