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

version» Context lines:

pike.git/src/modules/Image/testsuite.in:50:   test_eq(Image.PNM.decode(#{P3   # The same image with width 3 and height 2,   # using 0 or 1 per color (red, green, blue)   3 2 1   1 0 0 0 1 0 0 0 1   1 1 0 1 1 1 0 0 0   #}), IMAGE("78dadb969d6a90fc9423e1c18b156c7cff191818c0f8ff7f3066600000dfef0de3"))      test_eq(Image.PNM.decode("P3 3 2 1 1 0 0 0 1 0 0 0 1 1 1 0 1 1 1 0 0 0"), IMAGE("78dadb969d6a90fc9423e1c18b156c7cff191818c0f8ff7f3066600000dfef0de3"))    + test_eval_error(Image.PNM.decode("P2 1 1 0 0")) +    test_do(add_constant("IMAGE"))      test_true( objectp(Image.Image()) )   test_false( Image.Image()->xsize() )   test_false( Image.Image()->ysize() )      test_true( objectp(Image.Image(100,100)) )   test_eq( Image.Image(100,100)->xsize(), 100)   test_eq( Image.Image(100,100)->ysize(), 100)   test_false( Image.Image(100,100)!=0 )