Skip to content

Commit db9d5a7

Browse files
committed
some renaming
1 parent 0c46af9 commit db9d5a7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/accumulation.jl

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
@test 16 == add!!(12, 4)
55
end
66

7-
@testset "Differentials" begin
7+
@testset "misc AbstractDifferential subtypes" begin
88
@test 16 == add!!(12, @thunk(2*2))
99
@test 16 == add!!(16, Zero())
1010

@@ -55,10 +55,10 @@
5555
x -> x.+=A
5656
)
5757

58-
result = -1.0*ones(2,2)
59-
ret = add!!(result, ithunk)
60-
@test ret === result # must be same object
61-
@test result == [0.0 1.0; 2.0 3.0]
58+
accumuland = -1.0*ones(2,2)
59+
ret = add!!(accumuland, ithunk)
60+
@test ret === accumuland # must be same object
61+
@test accumuland == [0.0 1.0; 2.0 3.0]
6262
end
6363
end
6464
end

0 commit comments

Comments
 (0)