Skip to content

Commit

Permalink
Test: use 1b for invalid numbers
Browse files Browse the repository at this point in the history
Given that `VIPS_MAX_COORD` was bumped to 100m, see:
libvips/libvips@590d18e
  • Loading branch information
kleisauke committed Nov 1, 2024
1 parent fcc419b commit 219571b
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion test/api/processors/unit-brightness.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ TEST_CASE("brightness", "[brightness]") {

SECTION("invalid") {
auto test_image = fixtures->input_jpg;
auto params = "bri=100000000";
auto params = "bri=1000000000";

VImage image = process_file<VImage>(test_image, params);

Expand Down
2 changes: 1 addition & 1 deletion test/api/processors/unit-contrast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ TEST_CASE("contrast", "[contrast]") {

SECTION("invalid") {
auto test_image = fixtures->input_jpg;
auto params = "con=100000000";
auto params = "con=1000000000";

VImage image = process_file<VImage>(test_image, params);

Expand Down
2 changes: 1 addition & 1 deletion test/api/processors/unit-gamma.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ TEST_CASE("gamma", "[gamma]") {

SECTION("invalid") {
auto test_image = fixtures->input_jpg;
auto params = "gam=100000000";
auto params = "gam=1000000000";

VImage image = process_file<VImage>(test_image, params);

Expand Down
2 changes: 1 addition & 1 deletion test/api/processors/unit-thumbnail.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ TEST_CASE("fixed", "[thumbnail]") {

TEST_CASE("invalid height", "[thumbnail]") {
auto test_image = fixtures->input_jpg;
auto params = "w=320&h=100000000";
auto params = "w=320&h=1000000000";

VImage image = process_file<VImage>(test_image, params);

Expand Down

0 comments on commit 219571b

Please sign in to comment.