Example #1
0
 def test_logistic_minima(self):
     logistic_minima = minima(first_logistic_intervals)
     self.assertEqual(logistic_minima, [None])
Example #2
0
 def test_sinusoidal_minima(self):
     sinusoidal_minima = minima(first_sinusoidal_intervals)
     self.assertEqual(sinusoidal_minima, [6.5708, 8.6652])
Example #3
0
 def test_exponential_minima(self):
     exponential_minima = minima(first_exponential_intervals)
     self.assertEqual(exponential_minima, [None])
Example #4
0
 def test_hyperbolic_minima(self):
     hyperbolic_minima = minima(first_hyperbolic_intervals)
     self.assertEqual(hyperbolic_minima, [None])
Example #5
0
 def test_cubic_minima(self):
     cubic_minima = minima(first_cubic_intervals)
     self.assertEqual(cubic_minima, [None])
Example #6
0
 def test_quadratic_minima(self):
     quadratic_minima = minima(first_quadratic_intervals)
     self.assertEqual(quadratic_minima, [-0.75])
Example #7
0
 def test_linear_minima(self):
     linear_minima = minima(first_linear_intervals)
     self.assertEqual(linear_minima, [None])