libvips/test/test-suite
John Cupitt 3996f3279b fix range clips for casts to and from int
Fix two bugs:

- clip in casts from int32 and uint32 could overflow -- do these as gint64 now

- clip in casts from float to int could overflow since float32 can't
  represent the full range of int32 without losing precision -- do these
  as double

And add some more tests.

Thanks ewelot.

see https://github.com/libvips/libvips/issues/1922
2020-12-09 15:14:59 +00:00
..
helpers Ensure SVG loader skips input with chars outside x09-x7F range 2020-08-21 11:38:40 +01:00
images Ensure SVG loader skips input with chars outside x09-x7F range 2020-08-21 11:38:40 +01:00
__init__.py vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00
conftest.py vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00
Makefile.am pytest passes again after stream -> source/target 2019-12-29 23:08:33 +00:00
test_arithmetic.py fix refleak in webpsave_buffer 2019-12-21 05:13:54 +00:00
test_colour.py fix test suite 2019-11-27 11:48:50 +00:00
test_connection.py add ppm load/save to a connection 2020-06-27 15:23:18 +01:00
test_conversion.py fix range clips for casts to and from int 2020-12-09 15:14:59 +00:00
test_convolution.py fix refleak in webpsave_buffer 2019-12-21 05:13:54 +00:00
test_create.py Add unit test for vips_matrixinvert 2020-06-18 14:41:03 +02:00
test_draw.py vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00
test_foreign.py Port Ruby test case to Python 2020-11-23 14:40:59 +01:00
test_histogram.py fix test suite 2019-11-27 11:48:50 +00:00
test_iofuncs.py Avoid using vips7 symbols 2020-06-18 14:21:43 +02:00
test_morphology.py vmoe the test suite back into libvips 2018-07-06 15:43:20 +01:00
test_mosaicing.py move vips__lr|tbmerge to private API 2020-07-01 17:31:25 +01:00
test_resample.py fix TIFF thumbnail of buffer and source 2020-09-14 17:26:19 +01:00