(self)
| 2645 | self.assertEqual(quantiles([10], n=4, method='exclusive'), [10.0, 10.0, 10.0]) |
| 2646 | |
| 2647 | def test_equal_inputs(self): |
| 2648 | quantiles = statistics.quantiles |
| 2649 | for n in range(2, 10): |
| 2650 | data = [10.0] * n |
| 2651 | self.assertEqual(quantiles(data), [10.0, 10.0, 10.0]) |
| 2652 | self.assertEqual(quantiles(data, method='inclusive'), |
| 2653 | [10.0, 10.0, 10.0]) |
| 2654 | |
| 2655 | def test_equal_sized_groups(self): |
| 2656 | quantiles = statistics.quantiles |
nothing calls this directly
no test coverage detected