def test_logistic_minima(self): logistic_minima = minima(first_logistic_intervals) self.assertEqual(logistic_minima, [None])
def test_sinusoidal_minima(self): sinusoidal_minima = minima(first_sinusoidal_intervals) self.assertEqual(sinusoidal_minima, [6.5708, 8.6652])
def test_exponential_minima(self): exponential_minima = minima(first_exponential_intervals) self.assertEqual(exponential_minima, [None])
def test_hyperbolic_minima(self): hyperbolic_minima = minima(first_hyperbolic_intervals) self.assertEqual(hyperbolic_minima, [None])
def test_cubic_minima(self): cubic_minima = minima(first_cubic_intervals) self.assertEqual(cubic_minima, [None])
def test_quadratic_minima(self): quadratic_minima = minima(first_quadratic_intervals) self.assertEqual(quadratic_minima, [-0.75])
def test_linear_minima(self): linear_minima = minima(first_linear_intervals) self.assertEqual(linear_minima, [None])