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

version» Context lines:

pike.git/src/modules/Image/testsuite.in:1: - dnl $Id: testsuite.in,v 1.17 2004/03/20 12:57:41 grubba Exp $ + START_MARKER + dnl $Id: testsuite.in,v 1.18 2004/05/02 18:44:54 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:517:    img=c*img;    return Image.XFace.decode(Image.XFace.encode(img))==img;    ]],1)   ]])      test_encoding(XPM,[[    object c=Image.Colortable(16,16,16);    img=c*img;   ]],[[,(["colortable":c]) ]])   test_encoding(TIFF,,) + END_MARKER