Skip to content

Commit

Permalink
add test
Browse files Browse the repository at this point in the history
  • Loading branch information
lxvm committed Jan 14, 2024
1 parent 4229760 commit 65a32f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/lib/lib.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
t2 = (a=1, b=2)
@test Zygote.accum(t1, t2) == (a = 2, b = 4, c = 3)
@test_throws ArgumentError Zygote.accum(t2, t1)
@test Zygote.accum(fill(0.0), fill(0.0)) == fill(0.0)
end
end

0 comments on commit 65a32f5

Please sign in to comment.