MCPcopy Index your code
hub / github.com/numpy/numpy / test_basic

Method test_basic

numpy/lib/tests/test_twodim_base.py:191–199  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

189
190class TestFlipud:
191 def test_basic(self):
192 a = get_mat(4)
193 b = a[::-1, :]
194 assert_equal(flipud(a), b)
195 a = [[0, 1, 2],
196 [3, 4, 5]]
197 b = [[3, 4, 5],
198 [0, 1, 2]]
199 assert_equal(flipud(a), b)
200
201
202class TestHistogram2d:

Callers

nothing calls this directly

Calls 3

assert_equalFunction · 0.90
flipudFunction · 0.90
get_matFunction · 0.70

Tested by

no test coverage detected