Skip to content

Commit 2d2362e

Browse files
committed
More AffineTransform tests
1 parent 839c867 commit 2d2362e

File tree

1 file changed

+15
-3
lines changed

1 file changed

+15
-3
lines changed

test/runtests.jl

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,21 @@ end
104104
@test f(inv(f)(1)) == 1
105105
@test inv(f)(f(1)) == 1
106106

107-
g = AffineTransform((μ=3=2))
108-
@test g(inv(g)(1)) == 1
109-
@test inv(g)(g(1)) == 1
107+
f = AffineTransform((μ=3=2))
108+
@test f(inv(f)(1)) == 1
109+
@test inv(f)(f(1)) == 1
110+
111+
f = AffineTransform((σ=2,))
112+
@test f(inv(f)(1)) == 1
113+
@test inv(f)(f(1)) == 1
114+
115+
f = AffineTransform((ω=2,))
116+
@test f(inv(f)(1)) == 1
117+
@test inv(f)(f(1)) == 1
118+
119+
f = AffineTransform((μ=3,))
120+
@test f(inv(f)(1)) == 1
121+
@test inv(f)(f(1)) == 1
110122
end
111123

112124
@testset "Affine" begin

0 commit comments

Comments
 (0)