Пример #1
0
 def test_archDelete(self):
     libPath = getLibPath()
     libScotch = scotch.LibScotch(libraryPath=libPath)
     self.assertTrue(libScotch.isLoaded())
     self.assertTrue(libScotch.createSCOTCHArch())
     libScotch.deleteSCOTCHArch()
     self.assertTrue(libScotch.architecture is None)
Пример #2
0
 def test_stratCreation(self):
     libPath = getLibPath()
     libScotch = scotch.LibScotch(libraryPath=libPath)
     self.assertTrue(libScotch.isLoaded())
     self.assertTrue(libScotch.createSCOTCHGraphMapStrategy(''))
Пример #3
0
 def test_archPopulate(self):
     libPath = getLibPath()
     libScotch = scotch.LibScotch(libraryPath=libPath)
     self.assertTrue(libScotch.isLoaded())
     self.assertTrue(libScotch.createSCOTCHArch())
     self.assertTrue(libScotch.populatePartitionArchitecture(10))
Пример #4
0
    def test_archMethods(self):
        libPath = getLibPath()
        libScotch = scotch.LibScotch(libraryPath=libPath)
        self.assertTrue(libScotch.isLoaded())

        self.assertTrue(libScotch.createSCOTCHArch())
Пример #5
0
 def test_loadScotchLibrary(self):
     libPath = getLibPath()
     libScotch = scotch.LibScotch(libraryPath=libPath)
     self.assertTrue(libScotch.isLoaded())