Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/anim
diff options
context:
space:
mode:
authorslm <slm@slm-laptop.(none)>2010-06-16 18:49:17 (GMT)
committer slm <slm@slm-laptop.(none)>2010-06-16 18:49:17 (GMT)
commit90e4f968fff06c500b95b6331a49c64328430e29 (patch)
treebbb92c0be115e3bd508ba77a8fa47770cc8a528d /anim
parentf394866b6d778cb7b1d811f6a16aa15d2163acf2 (diff)
parentd9b65ccefea65bed1699a69f1bdc054dc7358187 (diff)
Merged branch 'master' of ssh://jtmengel@git.fedorahosted.org/git/fortune_hunter
Conflicts: anim/completeTest/fileTypeTests.py
Diffstat (limited to 'anim')
-rwxr-xr-xanim/completeTest/fileTypeTests.py30
1 files changed, 20 insertions, 10 deletions
diff --git a/anim/completeTest/fileTypeTests.py b/anim/completeTest/fileTypeTests.py
index 287d361..69c5dfa 100755
--- a/anim/completeTest/fileTypeTests.py
+++ b/anim/completeTest/fileTypeTests.py
@@ -39,13 +39,23 @@ 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')
-
-testOrder
-keyIn
-
-while 1:
- keyIn=int(raw_input(i+">"))
- if keyIn is not "done":
- testOrder[i]=keyIn
- int=int(int+1)
- else: break
+list=[imgSetup, spriteSetup, scaleSetup]
+keyIn="temp val"
+
+while True:
+ keyIn=raw_input(">")
+ try:
+ temp = int(keyIn)
+ list[temp - 1]()
+ except:
+ break
+
+#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'