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

Method testConstructor0

tools/swig/test/testArray.py:24–28  ·  view source on GitHub ↗

Test Array1 default constructor

(self)

Source from the content-addressed store, hash-verified

22 self.array1 = Array.Array1(self.length)
23
24 def testConstructor0(self):
25 "Test Array1 default constructor"
26 a = Array.Array1()
27 self.assertTrue(isinstance(a, Array.Array1))
28 self.assertTrue(len(a) == 0)
29
30 def testConstructor1(self):
31 "Test Array1 length constructor"

Callers

nothing calls this directly

Calls 1

Array1Method · 0.80

Tested by

no test coverage detected