Skip to content

Commit be46c03

Browse files
committed
=add print statement at start
1 parent 9230d28 commit be46c03

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

test/rulesets/Base/broadcast.jl

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,13 @@
88
@test extern(dx(One())) == cos.(x)
99

1010
x̄, ȳ = rand(), rand()
11-
@test extern(accumulate(x̄, dx, ȳ)) ==.+.* cos.(x)
11+
@test isequal(
12+
extern(ChainRules.accumulate(x̄, dx, ȳ)),
13+
.+.* cos.(x)
14+
)
1215

1316
x̄, ȳ = Zero(), rand(3, 3)
1417
@test extern(accumulate(x̄, dx, ȳ)) ==.* cos.(x)
15-
16-
x̄, ȳ = Zero(), cast(rand(3, 3))
17-
@test extern(accumulate(x̄, dx, ȳ)) == extern(ȳ) .* cos.(x)
1818
end
1919
end
2020
end

test/runtests.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ using ChainRulesCore: add, cast, extern, accumulate, accumulate!, store!, @scala
1717

1818
include("test_util.jl")
1919

20+
println("Testing ChainRules.jl")
2021
@testset "ChainRules" begin
2122
include("helper_functions.jl")
2223
@testset "rulesets" begin

0 commit comments

Comments
 (0)