MCPcopy
hub / github.com/numpy/numpy / test_reduce

Method test_reduce

numpy/_core/tests/test_regression.py:65–67  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

63 np.dtype([(('name', 'label'), np.int32, 3)])
64
65 def test_reduce(self):
66 # Ticket #40
67 assert_almost_equal(np.add.reduce([1., .5], dtype=None), 1.5)
68
69 def test_zeros_order(self):
70 # Ticket #43

Callers

nothing calls this directly

Calls 2

assert_almost_equalFunction · 0.90
reduceMethod · 0.45

Tested by

no test coverage detected