def setUp(self): param = Parameters() param.WITH_SHIFTS = True self.randObj = Random() self.randObj.initialization() self.coreObj = Core()
def setWithShifts(self, value): param = Parameters() param.WITH_SHIFTS = value self.randObj = Random() self.randObj.initialization()
def setWithShifts(cls, value): param = Parameters() param.WITH_SHIFTS = value cls.randObj = Random() cls.randObj.initialization()