summaryrefslogtreecommitdiff
path: root/tests/gdinterpolatedscale
Commit message (Collapse)AuthorAgeFilesLines
* let see which one failed herePierre Joye2021-08-201-7/+12
|
* Remove unused argc/argv parameters from main() in testsChristoph M. Becker2016-07-131-1/+1
|
* Fix #234: gdinterpolatedscale/gdTrivialResize is too slowChristoph M. Becker2016-06-211-2/+2
| | | | | It should be sufficient to use GD_BILINEAR_FIXED and to test with a smaller image.
* tests: cmake: add gdinterpolatedscaleMike Frysinger2016-06-151-0/+3
| | | | | | Need to bump up the timeout on one of the tests as the default ctest behavior is to timeout after a few seconds. We really should fix this test to be faster though.
* tests: cmake: switch to list appendingMike Frysinger2016-06-151-1/+1
| | | | | | This makes it a bit cleaner when dealing with optional tests as we use the LIST(APPEND...) command everywhere instead of sometimes SET and sometimes LIST.
* WSPierre Joye2016-06-151-47/+45
|
* #230 fix crash on failPierre Joye2016-06-151-0/+4
|
* fix various gcc/clang warnings found with -WallMike Frysinger2016-05-131-2/+1
|
* tests: fix leaks in test codeDavid Drysdale2016-05-011-0/+2
| | | | | Ensure all images etc. are freed so that we can enable leak checking across the tests and not get any false positives.
* tests: gd2: add general read test helpers #208Mike Frysinger2016-04-301-1/+1
| | | | | | | | | Since we have random files we want to read & check, turn the two read programs into general tools. Then we have shell scripts to run against the right inputs. Most of the changes here are just shuffling variable names so we can add to check_PROGRAMS independently of TESTS.
* tests: split up makefile entriesMike Frysinger2016-04-301-0/+6
| | | | | This matches what we've done with cmake files, and it makes managing the subdirs much easier.
* tests: unify cmake test code into a single macroMike Frysinger2016-04-301-6/+2
| | | | | | | | | This makes the test code a lot easier to manage rather than copying & pasting the same boiler plate multiple times. Also take the opportunity to add a common prefix to each test name so we don't get collisions between subdirs if a test happens to use the same exact name.
* gitignore: split up test entriesMike Frysinger2016-04-301-0/+2
| | | | | This makes it easier to keep track of things. The single toplevel list can make it hard to notice when something is stale.
* remove this test, too bigPierre Joye2015-01-193-39/+0
|
* fix #91, actually add tests, bug already fixedPierre Joye2015-01-193-0/+49
|
* Added test case to exercise all of the gdImageScale() modes.Chris Reuter2013-10-221-0/+48
| | | | | | | | | | Creates and shrinks a bunch of images using gdImageScale(), once per mode in both palette and truecolor. It does not use GD_DEFAULT (which is equivalent to one of the others) or GD_WEIGHTED4 (unsupported for scaling). Note that this test does not check if the resulting image looks anything like the source.
* Added a test case for gdImageScaleTwoPass().Chris Reuter2013-10-091-0/+94
This testcase does some basic resizing using bicubic interpolation and ensures the result is sane. It does not verify image quality, just that the functions return acceptible values.