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

Method test_asterisk2

numpy/f2py/tests/test_docs.py:36–40  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

34 assert_equal(foo(), b'123456789A12')
35
36 def test_asterisk2(self):
37 foo = getattr(self.module, 'foo2')
38 assert_equal(foo(2), b'12')
39 assert_equal(foo(12), b'123456789A12')
40 assert_equal(foo(24), b'123456789A123456789B')
41
42 def test_ftype(self):
43 ftype = self.module

Callers

nothing calls this directly

Calls 2

assert_equalFunction · 0.90
fooClass · 0.50

Tested by

no test coverage detected