]> git.saurik.com Git - wxWidgets.git/commit - tests/image/image.cpp
Add a unit test for wxImage::Scale() method.
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 1 Jul 2013 14:47:12 +0000 (14:47 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 1 Jul 2013 14:47:12 +0000 (14:47 +0000)
commitd9a4a0d022f4a2d03422411eb93e5b9dc28d5d4c
treea9cc61335c2bfe2f2cdb7ea637c778562a14569c
parent8e125ff1145c4c3154a59efe3e60c58a7fd0861d
Add a unit test for wxImage::Scale() method.

Check that resizing the test horse image produces the same results in the
future as it does now, by saving the current results in files and verifying
that images resized directly and loaded from these files are the same.

See #15281.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
18 files changed:
tests/image/horse_bicubic_100x100.png [new file with mode: 0644]
tests/image/horse_bicubic_150x150.png [new file with mode: 0644]
tests/image/horse_bicubic_300x300.png [new file with mode: 0644]
tests/image/horse_bicubic_50x50.png [new file with mode: 0644]
tests/image/horse_bilinear_100x100.png [new file with mode: 0644]
tests/image/horse_bilinear_150x150.png [new file with mode: 0644]
tests/image/horse_bilinear_300x300.png [new file with mode: 0644]
tests/image/horse_bilinear_50x50.png [new file with mode: 0644]
tests/image/horse_box_average_100x100.png [new file with mode: 0644]
tests/image/horse_box_average_150x150.png [new file with mode: 0644]
tests/image/horse_box_average_300x300.png [new file with mode: 0644]
tests/image/horse_box_average_50x50.png [new file with mode: 0644]
tests/image/image.cpp
tests/makefile.bcc
tests/makefile.gcc
tests/makefile.vc
tests/makefile.wat
tests/test.bkl