Skip to content

Commit

Permalink
Prepare to release.
Browse files Browse the repository at this point in the history
  • Loading branch information
Cykooz committed Jul 19, 2024
1 parent 8492893 commit db42291
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions tests/resize_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -496,6 +496,22 @@ mod not_u8x4 {
}
}

#[test]
fn resize_u8x3_interpolation() {
type P = U8x3;
P::downscale_test(
ResizeAlg::Interpolation(FilterType::Bilinear),
CpuExtensions::None,
[2938733, 2946338, 2883813],
);

P::upscale_test(
ResizeAlg::Interpolation(FilterType::Bilinear),
CpuExtensions::None,
[1156013474, 1158419787, 1135090328],
);
}

#[test]
fn downscale_u16() {
type P = U16;
Expand Down Expand Up @@ -1036,19 +1052,3 @@ mod u8x4 {
}
}
}

#[cfg(not(feature = "only_u8x4"))]
#[test]
fn resize_u8x3_interpolation() {
U8x3::downscale_test(
ResizeAlg::Interpolation(FilterType::Bilinear),
CpuExtensions::None,
[2938733, 2946338, 2883813],
);

U8x3::upscale_test(
ResizeAlg::Interpolation(FilterType::Bilinear),
CpuExtensions::None,
[1156013474, 1158419787, 1135090328],
);
}

0 comments on commit db42291

Please sign in to comment.