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

Method test_basic

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

Source from the content-addressed store, hash-verified

171
172class TestFlipud:
173 def test_basic(self):
174 a = get_mat(4)
175 b = a[::-1, :]
176 assert_equal(flipud(a), b)
177 a = [[0, 1, 2],
178 [3, 4, 5]]
179 b = [[3, 4, 5],
180 [0, 1, 2]]
181 assert_equal(flipud(a), b)
182
183
184class 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