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