Пример #1
0
 def test_should_return_outliers_if_present(self):
     self.assertEqual([209], statistics.outliers([1, 2, 3, 4, 5, 209]))
Пример #2
0
 def test_should_return_empty_list_if_no_outliers(self):
     self.assertEqual([], statistics.outliers([1, 2, 3, 4, 5, 6, 7]))