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

version» Context lines:

pike.git/src/modules/Image/testsuite.in:595:      test_do( img()->phaseh() )   test_do( img()->phasev() )   test_do( img()->phasevh() )   test_do( img()->phasehv() )      test_do( Image.Image(100,100)->setcolor(255,0,0,128)->    polyfill( ({20,20, 80,20, 80,80 }) ) )      test_true( img()->random() != img()->random() ) + test_eq( (string)Image.Image(4,4)->random(42), + String.hex2string("aacb8f50fe20afc5db8d2f676a5e56bd8dc87ac09bc2805b34156d026685411a793213af0518233d7bf0439233d7a6fc") ) + test_do( img()->random(Random.Deterministic(42)->random_string) )    - test_do( img()->randomgrey() ) + test_do( img()->randomgrey() != img()->randomgrey() ) + test_eq( (string)Image.Image(4,4)->randomgrey(42), + String.hex2string("bdbdbd5656565e5e5e6a6a6a6767672f2f2f8d8d8ddbdbdbc5c5c5afafaf202020fefefe5050508f8f8fcbcbcbaaaaaa") ) + test_do( img()->randomgrey(Random.Deterministic(42)->random_string) )      test_eq( img()->write_lsb_rgb("hello")->read_lsb_rgb(), "hello"+"\0"*933 )   test_eq( img()->write_lsb_grey("hello")->read_lsb_grey(), "hello"+"\0"*308 )      test_do( img()->rgb_to_hsv() )      test_do( img()->rotate(17) )   test_do( img()->rotate(33.333) )   test_do( img()->rotate(44, 250, 1, 2) )   
pike.git/src/modules/Image/testsuite.in:647:   test_do( img()->skewx(22.8, 100, 75, 26) )      test_do( img()->skewy(10) )   test_do( img()->skewy(16.4) )   test_do( img()->skewy(13, 26, 36, 47) )   test_do( img()->skewy(22.8, 100, 75, 26) )      // sum tests above   // sumf tests above    - // test tests above + test_eq( (string)Image.Image(4,4)->test(42), + String.hex2string("f15a00af68556c879b539aac904c946c70ad35a0cd35aebf5000fe4a77e100bafc24cbb2a0b4ff6393e32dc3b929ff67") ) + test_do( img()->test(Random.Deterministic(42)->random) )      test_do( img()->threshold() )   test_do( img()->threshold(28) )   test_do( img()->threshold(128, 255, 111) )   test_do( img()->threshold(Image.Color.green) )      test_do( img()->tuned_box(10,10,40,40,    ({({255,0,0}),({255,255,255}),({128,100,0}),({0,70,255})}) ) )   test_do( img()->tuned_box(10,10,40,40,    ({({255,0,0,0}),({255,255,255,240}),({128,100,0,230}),({0,70,255,7})}) ) )