Skip to content

Commit 41785c7

Browse files
Fix wrong test_rotate_no_crop_bicubic_rgba test and its corresponding image
1 parent 142e427 commit 41785c7

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed
28 KB
Loading

tests/regression.rs

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -143,13 +143,6 @@ fn test_rotate_nearest_rgb() {
143143
);
144144
}
145145

146-
/*
147-
let input = Image::<Rgb<u8>>::from_dynamic(&load_image_or_panic(
148-
Path::new(INPUT_DIR).join("elephant.png"),
149-
));
150-
println!("{:?}", rotate_bicubic_about_center_no_crop(&input).save(Path::new(TRUTH_DIR).join("elephant_rotate_no_crop_bicubic.png")));
151-
*/
152-
153146
#[test]
154147
fn test_rotate_no_crop_nearest_rgb() {
155148
fn rotate_nearest_about_center_no_crop(image: &RgbImage) -> RgbImage {
@@ -336,7 +329,7 @@ fn test_rotate_bicubic_rgba() {
336329
#[test]
337330
fn test_rotate_no_crop_bicubic_rgba() {
338331
fn rotate_bicubic_about_center_no_crop(image: &RgbaImage) -> RgbaImage {
339-
rotate_about_center(
332+
rotate_about_center_no_crop(
340333
image,
341334
std::f32::consts::PI / 4f32,
342335
Interpolation::Bicubic,

0 commit comments

Comments
 (0)