Esempio n. 1
0
 def testSizes(self):
     s = fp.SpopVec(64, 100)
     m = demog.make_MetaPopVec(s)
     for i in m:
         self.assertEqual(i.popsizes(), [100])
Esempio n. 2
0
 def testSizes(self):
     s = fp.SpopVec(64,100)
     m = demog.make_MetaPopVec(s)
     for i in m:
         self.assertEqual(i.popsizes(),[100])
Esempio n. 3
0
 def testLength(self):
     s = fp.SpopVec(64, 100)
     m = demog.make_MetaPopVec(s)
     self.assertEqual(len(m), len(s))
Esempio n. 4
0
 def testLength(self):
     s = fp.SpopVec(64,100)
     m = demog.make_MetaPopVec(s)
     self.assertEqual(len(m),len(s))