Пример #1
0
 def test_calc_poly_den4(self):
     self.assertEqual(function.calc_poly([[8, 8, 8]], 0.999), [23.976008])
Пример #2
0
 def test_calc_poly_den2(self):
     self.assertEqual(function.calc_poly([[8, 8, 8]], 0.002), [8.016032])
Пример #3
0
 def test_calc_poly_den3(self):
     self.assertEqual(function.calc_poly([[8, 8, 8]], 0.003),
                      [8.024071999999999])
Пример #4
0
 def test_calc_poly_den(self):
     self.assertEqual(function.calc_poly([[8, 8, 8]], 0.000), [8.0])
Пример #5
0
 def test_calc_poly_den1(self):
     self.assertEqual(function.calc_poly([[8, 8, 8]], 0.001),
                      [8.008007999999998])
Пример #6
0
 def test_calc_poly_num4(self):
     self.assertEqual(function.calc_poly([[2, 4, 6]], 0.999), [11.984006])
Пример #7
0
 def test_calc_poly_num3(self):
     self.assertEqual(function.calc_poly([[2, 4, 6]], 0.003), [2.012054])
Пример #8
0
 def test_calc_poly_num2(self):
     self.assertEqual(function.calc_poly([[2, 4, 6]], 0.002), [2.008024])
Пример #9
0
 def test_calc_poly_num1(self):
     self.assertEqual(function.calc_poly([[2, 4, 6]], 0.001), [2.004006])
Пример #10
0
 def test_calc_poly_num(self):
     self.assertEqual(function.calc_poly([[2, 4, 6]], 0.000), [2.0])