def test_sinusoidal_intercepts(self): sinusoidal_intercepts = intercepts('sinusoidal', coefficients, precision) self.assertEqual(sinusoidal_intercepts, [None])
def test_logarithmic_intercepts(self): logarithmic_intercepts = intercepts('logarithmic', coefficients[:2], precision) self.assertEqual(logarithmic_intercepts, [0.2231])
def test_logistic_intercepts(self): logistic_intercepts = intercepts('logistic', coefficients[:3], precision) self.assertEqual(logistic_intercepts, [None])
def test_exponential_intercepts(self): exponential_intercepts = intercepts('exponential', coefficients[:2], precision) self.assertEqual(exponential_intercepts, [None])
def test_hyperbolic_intercepts(self): hyperbolic_intercepts = intercepts('hyperbolic', coefficients[:2], precision) self.assertEqual(hyperbolic_intercepts, [-0.6667])
def test_cubic_intercepts(self): cubic_intercepts = intercepts('cubic', coefficients, precision) self.assertEqual(cubic_intercepts, [-1.4455])
def test_quadratic_intercepts(self): quadratic_intercepts = intercepts('quadratic', coefficients[:3], precision) self.assertEqual(quadratic_intercepts, [None])
def test_linear_intercepts(self): linear_intercepts = intercepts('linear', coefficients[:2], precision) self.assertEqual(linear_intercepts, [-1.5])