Skip to content

Commit 153ac1a

Browse files
author
Miha Zgubic
committed
add test
1 parent 3653ab2 commit 153ac1a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/tangent_types/tangent.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ end
324324
@testset "-Tangent" begin
325325
t = Tangent{Foo}(; x=1.0, y=-2.0)
326326
@test -t == Tangent{Foo}(; x=-1.0, y=2.0)
327+
@test -1.0*t == -t
327328
end
328329

329330
@testset "scaling" begin

0 commit comments

Comments
 (0)