예제 #1
0
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)
예제 #2
0
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)
예제 #3
0
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)
예제 #4
0
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)