def test_get_conversion_factor(self):
     r"""
     Testing the get_conversion_factor function
     """
     for unit_in, unit_out, test_fact in self._convertion_factor_test:
         fact = UnitConversion.get_conversion_factor(unit_in, unit_out)
         fact = round(fact * 1.0E9)
         test_fact = round(test_fact * 1.0E9)
         msg = 'Get conversion factor for {} to {} failed.'
         msg = msg.format(unit_in, unit_out)
         #
         assert fact == test_fact, msg