def test_set_coefficients_to_BminusV(self): expected = constants.coeff_BminusV result = bc_polynomial.set_constants("BminusV")[0] self.assertEqual(expected, result)
def test_set_range_max_to_BminusI(self): expected = constants.max_BminusI result = bc_polynomial.set_constants("BminusI")[2] self.assertEqual(expected, result)
def test_set_uncertainties_to_BminusI(self): expected = constants.rms_err_BminusI result = bc_polynomial.set_constants("BminusI")[3] self.assertEqual(expected, result)
def test_set_range_min_to_BminusV(self): expected = constants.min_BminusV result = bc_polynomial.set_constants("BminusV")[1] self.assertEqual(expected, result)
def test_set_range_min_to_VminusI(self): expected = constants.min_VminusI result = bc_polynomial.set_constants("VminusI")[1] self.assertEqual(expected, result)
def test_set_coefficients_to_VminusI(self): expected = constants.coeff_VminusI result = bc_polynomial.set_constants("VminusI")[0] self.assertEqual(expected, result)