(self)
| 1348 | self.assertEqual(self.func([1e100, 1, 3, -1e100]), 1) |
| 1349 | |
| 1350 | def test_ints(self): |
| 1351 | # Test mean with ints. |
| 1352 | data = [0, 1, 2, 3, 3, 3, 4, 5, 5, 6, 7, 7, 7, 7, 8, 9] |
| 1353 | random.shuffle(data) |
| 1354 | self.assertEqual(self.func(data), 4.8125) |
| 1355 | |
| 1356 | def test_floats(self): |
| 1357 | # Test mean with floats. |
nothing calls this directly
no test coverage detected