def test_median_five(self): self.assertEqual(median([1, 2, 3, 4, 5]), 3)
def test_median_empty(self): self.assertEqual(median([]), None)
def test_median_four(self): self.assertEqual(median([7, 5, 3, 5]), 5)
def test_median(self): self.assertEqual(median([1, 2, 3, 4, 5, 6]), 3.5)