From f394866b6d778cb7b1d811f6a16aa15d2163acf2 Mon Sep 17 00:00:00 2001 From: slm Date: Wed, 16 Jun 2010 18:44:17 +0000 Subject: Git commited in order to merge --- diff --git a/anim/completeTest/fileTypeTests.py b/anim/completeTest/fileTypeTests.py index ceab50c..287d361 100755 --- a/anim/completeTest/fileTypeTests.py +++ b/anim/completeTest/fileTypeTests.py @@ -37,21 +37,15 @@ print "Enter 'Exit' into the prompt to close the program. (NOTE: not working yet print "1. Simple File Type Variety Test, as images (NOTE: not working yet)" print "2. Simple File Type variety Test, as sprites (NOTE: not working yet)" print "3. Selected Scalability Test (NOTE: not working yet)" +i=int(1) file=open('./testresult.csv','a') -list=[] -keyIn="temp val" -val=0 -while keyIn is not None: - keyIn=raw_input(">") - list[val]=int(keyIn) - val=val+1 - -print list+" and switching now..." -# -#for i in list: -# call what's in list[i] somehow -# print i -# if i == keyInt -# list[int(i)] -# switch.get( i , sys.exit("Goodbye!") ) -# print 'looped through' + +testOrder +keyIn + +while 1: + keyIn=int(raw_input(i+">")) + if keyIn is not "done": + testOrder[i]=keyIn + int=int(int+1) + else: break -- cgit v0.9.1