MCPcopy Create free account
hub / github.com/numpy/numpy / test_concatenate_basic

Method test_concatenate_basic

numpy/ma/tests/test_core.py:146–153  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

144 assert_equal(x, xm)
145
146 def test_concatenate_basic(self):
147 # Tests concatenations.
148 (x, y, a10, m1, m2, xm, ym, z, zm, xf) = self.d
149 # basic concatenation
150 assert_equal(np.concatenate((x, y)), concatenate((xm, ym)))
151 assert_equal(np.concatenate((x, y)), concatenate((x, y)))
152 assert_equal(np.concatenate((x, y)), concatenate((xm, y)))
153 assert_equal(np.concatenate((x, y, x)), concatenate((x, ym, x)))
154
155 def test_concatenate_alongaxis(self):
156 # Tests concatenations.

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
concatenateFunction · 0.90

Tested by

no test coverage detected