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

Method testConstructor0

tools/swig/test/testArray.py:274–278  ·  view source on GitHub ↗

Test ArrayZ default constructor

(self)

Source from the content-addressed store, hash-verified

272 self.array3 = Array.ArrayZ(self.length)
273
274 def testConstructor0(self):
275 "Test ArrayZ default constructor"
276 a = Array.ArrayZ()
277 self.assertTrue(isinstance(a, Array.ArrayZ))
278 self.assertTrue(len(a) == 0)
279
280 def testConstructor1(self):
281 "Test ArrayZ length constructor"

Callers

nothing calls this directly

Calls 1

ArrayZMethod · 0.80

Tested by

no test coverage detected