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