def setGetTimeCourseSelectionList(testId): print string.ljust("Check " + testId, rpadding), errorFlag = False myList = rrPython.getFloatingSpeciesIds() newList = list(myList) random.shuffle(newList) rrPython.setTimeCourseSelectionList(newList) if rrPython.getTimeCourseSelectionList() != newList: errorFlag = True print passMsg(errorFlag)
def setGetTimeCourseSelectionList(testId): print string.ljust ("Check " + testId, rpadding), errorFlag = False myList = rrPython.getFloatingSpeciesIds() newList = list (myList) random.shuffle (newList) rrPython.setTimeCourseSelectionList (newList) if rrPython.getTimeCourseSelectionList() != newList: errorFlag = True print passMsg (errorFlag)
def checkGetTimeCourseSelectionList(testId): print string.ljust("Check " + testId, rpadding), errorFlag = False line = readLine() words = line.split() result = rrPython.getTimeCourseSelectionList() for i in range(len(words)): if words[i] != result[i]: errorFlag = True break print passMsg(errorFlag)
def checkGetTimeCourseSelectionList(testId): print string.ljust ("Check " + testId, rpadding), errorFlag = False line = readLine () words = line.split() result = rrPython.getTimeCourseSelectionList() for i in range (len (words)): if words[i] != result[i]: errorFlag = True break print passMsg (errorFlag)