Skip to content

Commit cd50c71

Browse files
committed
Test inverse of inverse itself
1 parent b2e5e85 commit cd50c71

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_inverse.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ InverseFunctions.inverse(::typeof(foo)) = inv_foo
77
InverseFunctions.inverse(::typeof(inv_foo)) = foo
88

99
@testset "inverse" begin
10+
InverseFunctions.test_inverse(inverse, log)
11+
1012
x = rand()
1113
for f in (foo, inv_foo, exp, log, exp2, log2, exp10, log10, expm1, log1p)
1214
InverseFunctions.test_inverse(f, x)

0 commit comments

Comments
 (0)