From 942dab4796a5d1882760aa9c68b7c0ecba4c7eba Mon Sep 17 00:00:00 2001 From: Mikael Slevinsky Date: Tue, 7 Jul 2020 11:50:08 -0500 Subject: [PATCH] inv test --- test/automatic_differentiation_test.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/test/automatic_differentiation_test.jl b/test/automatic_differentiation_test.jl index 4926c8a..3f29438 100644 --- a/test/automatic_differentiation_test.jl +++ b/test/automatic_differentiation_test.jl @@ -99,6 +99,7 @@ x = Dual(1.2,1.0) x = 2dual(sqrt(floatmax(Float64)), sqrt(floatmax(Float64))) @test x/x == 1.0 +@test inv(x)*x == 1.0 # test Dual{Complex}