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

version» Context lines:

pike.git/src/modules/Image/testsuite.in:772:    test_do( add_constant("c") )   ]])      test_true( Image.Colortable(Image.Image(10,10)->randomgrey())->greyp() )   test_false( Image.Colortable(Image.Image(10,10,255,0,0))->greyp() )         dnl #### Encodings      define(test_image_any,[[ +  cond_resolv(Image.$1, [[    test_any([[    return Image.ANY.decode(Image.$1.encode(Image.Image(10,10)))->xsize();    ]],10)    test_any([[    mapping m=Image.ANY._decode(Image.$1.encode(Image.Image(10,10)));    if(!m->image || !m->type) return -1;    if(!has_prefix(m->type, "image/")) return -2;    return 1;    ]], 1)    ]]) -  + ]])      ; Missing tests for XCF, PSD, TIM, XWD   test_image_any(PNM)   test_image_any(JPEG)   test_image_any(PNG)   test_image_any(GIF)   test_image_any(ILBM)   test_image_any(BMP)   test_image_any(RAS)   test_image_any(PVR)