Esempio n. 1
0
 def testExpectedCaseA(self):
     expObjs = [
         adsImplHelp.TopStandard(idx, self.siteNames)
         for idx in self.inpIndices
     ]
     actObjs = self._runTestFunct()
     self.checkExpectedAndActualObjsMatch(expObjs, actObjs)
 def createTestObjs(self):
     self.cellA = loadTestCellA()
     self.topSites = [
         adsSiteImplHelp.TopStandard(idx, siteName="top")
         for idx in self.topIndices
     ]
     self.testObjA = tCode.AddAdsSitesToGeomsStandard(self.topSites)
 def createTestObjs(self):
     self.adsObjs = [
         adsSiteImplHelp.TopStandard(x, siteName=self.siteName)
         for x in self.adsSiteIndices
     ]
     self.cellA = loadTestCellA()
     cartCoords = [[9, 9, 9, "X"], [1, 1, 1, "Y"], [6, 6, 5, "Z"]]
     self.cellA.cartCoords = cartCoords
Esempio n. 4
0
 def createTestObjs(self):
     self.cellA = _createTestCellA()
     self.testObjA = tCode.TopStandard(self.inpIdx)
 def createTestObjs(self):
     self.cellA = loadTestCellA()
     self.adsObjs = [
         adsSiteImplHelp.TopStandard(x, siteName=self.siteName)
         for x in self.topIndices
     ]