We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 594c767 commit 4c7b7c2Copy full SHA for 4c7b7c2
test/warp.jl
@@ -476,6 +476,13 @@ NaN NaN NaN NaN NaN NaN NaN
476
@test ImageTransformations._mod2pi(τ) isa Float64
477
## Now check that it gives the expected result
478
@test imrotate(img_camera, τ) ≈ img_camera
479
+
480
+ # check special rotation degrees
481
+ img = rand(Gray{N0f8}, 100, 50)
482
+ @test size(imrotate(img, pi/2)) == (50, 100)
483
+ @test size(imrotate(img, pi)) == (100, 50)
484
+ @test size(imrotate(img, 3pi/2)) == (50, 100)
485
+ @test size(imrotate(img, 2pi)) == (100, 50)
486
end
487
488
0 commit comments