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.26 2010/02/15 01:05:09 srb Exp $ + dnl $Id: testsuite.in,v 1.27 2010/02/15 02:05:53 srb 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:814:   test_eval_error( Image.PNG.encode(Image.Image(5,5), (["alpha":"x"])) )   test_eval_error( Image.PNG.encode(Image.Image(5,5), (["alpha":Image.Image(4,4)])) )   test_true( Image.PNG.encode(Image.Image(5,5), (["alpha":Image.Image(5,5)])) )   dnl FIXME: Test that alpha is actually encoded   dnl FIXME: Test "palette" attribute   test_eval_error( Image.PNG.encode(Image.Image(5,5), (["zlevel":"x"])) )   test_true( Image.PNG.encode(Image.Image(5,5), (["zlevel":0])) )   test_true( Image.PNG.encode(Image.Image(5,5), (["zlevel":9])) )   test_true( Image.PNG.encode(Image.Image(5,5), (["zstrategy":Gz.DEFAULT_STRATEGY])) )   test_true( Image.PNG.encode(Image.Image(5,5), (["zstrategy":Gz.FILTERED])) ) - cond( Gz.RLE, [[ + cond_resolv( Gz.RLE, [[    test_true( Image.PNG.encode(Image.Image(5,5), (["zstrategy":Gz.RLE])) )   ]])   test_true( Image.PNG.encode(Image.Image(5,5), (["zstrategy":Gz.HUFFMAN_ONLY])) )   cond_resolv( Gz.FIXED, [[    test_true( Image.PNG.encode(Image.Image(5,5), (["zstrategy":Gz.FIXED])) )   ]])      cond( (master()->resolv("Image.XFace")||([]))->encode,[[    test_any([[    object img=Image.Image(48,48)->test(43);