def METHOD_NAME(self, unit, scale, expected_value, expect_fail=False):
    try:
        val = float(unitManager([scale, unit]))
        self.assertTrue((abs(val - expected_value) < self.tol) != expect_fail)
    except TypeError:
        self.assertTrue(expect_fail)