def test_AVERAGE_mixed(self): self.assertEqual( statistics.AVERAGE( func_xltypes.Array([[1, 2], [3, 4]]), 1, 2, 3, 4 ), 2.5 )
def test_AVERAGE_without_any_numbers(self): self.assertEqual(statistics.AVERAGE(), 0)
def test_AVERAGE_numbers(self): self.assertEqual(statistics.AVERAGE(1, 2.0, 3, 4.0), 2.5)