/[gzz]/gzz/test/gzz/gfx/jni/jnistrconv.test
ViewVC logotype

Diff of /gzz/test/gzz/gfx/jni/jnistrconv.test

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by humppake, Mon Oct 7 09:40:12 2002 UTC revision 1.3 by humppake, Mon Oct 7 09:48:19 2002 UTC
# Line 1  Line 1 
1  from gzz.gfx.gl import GL_Testing  from gzz.gfx.gl import GL_Testing
2    import java.lang.String
3    
4  def strcmp(original, looped):  def strcmp(original, looped):
5      failIf(original != looped)      failIf(original != looped)
# Line 19  def testUniScandPhrase(): Line 20  def testUniScandPhrase():
20      str = "Viime yönä Åke jutteli Äreälle Örisijälle åskardeista."      str = "Viime yönä Åke jutteli Äreälle Örisijälle åskardeista."
21      strcmp(str, GL_Testing.loopUnistrConv(str))      strcmp(str, GL_Testing.loopUnistrConv(str))
22    
23    def testUniScandJavaSubstr():
24        str = java.lang.String("Viime yönä Åke jutteli Äreälle Örisijälle åskardeista.")
25        strcmp(str.substring(5,20), GL_Testing.loopUnistrConv(str.substring(5,20)))
26    
27  def testStdAZ():  def testStdAZ():
28      str = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz"      str = "AaBbCcDdEeFfGgHhIiJjKkLlMmNnOoPpQqRrSsTtUuVvWwXxYyZz"
29      strcmp(str, GL_Testing.loopStdstrConv(str))      strcmp(str, GL_Testing.loopStdstrConv(str))

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26