pike.git / src / modules / Image / testsuite.in

version» Context lines:

pike.git/src/modules/Image/testsuite.in:1:   START_MARKER - dnl $Id: testsuite.in,v 1.22 2006/07/26 19:24:00 nilsson Exp $ + dnl $Id: testsuite.in,v 1.23 2006/08/31 14:45:33 nilsson Exp $      test_eq([[ Image.PNM.decode("P1\n5 5\n0 1 1 1 1\n1 0 1 1 1\n"    "1 1 0 1 1\n1 1 1 0 1\n1 1 1 1 0") ]],   Image.PNM.decode("P4\n5 5\nx¸Øèð") )      test_eq([[ Image.GIF.decode(MIME.decode_base64(    "R0lGODlhBQAFAIAAAAAAAP///ywAAAAABQAFAAACCAxwEWrY8BwoADs=")) ]],   Image.PNM.decode("P4\n5 5\nx\00èØèð") )      test_true( objectp(Image.Image()) )
pike.git/src/modules/Image/testsuite.in:386:   test_do( img()->bitscale(99, 0) )   test_do( img()->bitscale(0, 99) )      test_do( img()->blur(0) )   test_do( img()->blur(1) )   test_do( img()->blur(5) )      test_do( img(100,100)->box(40,10,10,80) )   test_do( img(100,100)->box(40,10,10,80,0,255,0) )   test_do( img(100,100)->box(40,10,10,80,255,0,0,75) ) + test_do( img(10,10)->setcolor(255,17,48,80)->box(0,2,11,9) )      test_do( (string)img() )   test_do( (array)img() )      test_do( img()->change_color(255,255,255) )   test_do( img()->change_color(1,2,3,10,20,30) )      test_do( img(100,100)->circle(50,50,30,50) )   test_do( img(100,100)->circle(50,50,30,50,0,255,255) )   test_do( img(100,100)->circle(50,50,30,50,0,255,255,75) )