diff options
author | slm <slm@slm-laptop.(none)> | 2010-06-17 16:07:54 (GMT) |
---|---|---|
committer | slm <slm@slm-laptop.(none)> | 2010-06-17 16:07:54 (GMT) |
commit | 809af2ee6ec73cd7e5f5e2c0263d75f52a0a2fa7 (patch) | |
tree | 2b8217db217afb8ef6e6cc2297a1855040ee7e44 /anim | |
parent | 90e4f968fff06c500b95b6331a49c64328430e29 (diff) |
Relocated a misplaced test.py into the devtools for Image test.
Diffstat (limited to 'anim')
-rwxr-xr-x | anim/completeTest/fileTypeTests.py | 62 |
1 files changed, 26 insertions, 36 deletions
diff --git a/anim/completeTest/fileTypeTests.py b/anim/completeTest/fileTypeTests.py index 69c5dfa..f770b45 100755 --- a/anim/completeTest/fileTypeTests.py +++ b/anim/completeTest/fileTypeTests.py @@ -1,61 +1,51 @@ #! /usr/bin/env python #import sys -#= .image() Animation Test ======== -#- set up ------------------------- -def imgSetup(): - print "imgSetup" +print "\n\nWelcome to the master File Type Tester Interface" +print "Authors: Scott 'JT' Mengel and Dave Silverman" +print "\nPlease select the test(s) you want to run in the order you want to run them." +print "Enter 'Exit' into the prompt to close the program. (NOTE: not working yet)\n" +print "0. Run all tests" +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)" + +file=open('./testresult.csv','a') +i=int(1) +keyIn="temp val" + +#= .image() Animation Test ======== +#- test --------------------------- def imgTest(): print "imgTest" -#= .sprite() Animation Test ======= -#- set up ------------------------- - -def spriteSetup(): - print "spriteSetup" +#= .sprite() Animation Test ======= +#- test --------------------------- def spriteTest(): print "spriteTest" #= Scalability Test =============== -#- set up ------------------------- - -def scaleSetup(): - print "scaleSetup" - +#- test --------------------------- def scaleTest(): print "scaleTest" -print "\n\nWelcome to the master File Type Tester Interface" -print "Authors: Scott 'JT' Mengel and Dave Silverman" -print "\nPlease select the test(s) you want to run in the order you want to run them." -print "Enter 'Exit' into the prompt to close the program. (NOTE: not working yet)\n" -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=[imgSetup, spriteSetup, scaleSetup] -keyIn="temp val" +#= Super (every) Test ============= +#- test --------------------------- +def superTest(): + print "superTest" + +list=[superTest,imgTest, spriteTest, scaleTest] while True: keyIn=raw_input(">") + try: temp = int(keyIn) - list[temp - 1]() + list[temp]() 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' |