Skip to content

Commit 660dc04

Browse files
committed
Revert "also comment out trinary tests"
This reverts commit 148b29c.
1 parent 750591b commit 660dc04

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

test/runtests.jl

+1-4
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ for (M, f, arity) in DiffRules.diffrules()
4747
end
4848
end
4949
elseif arity == 3
50-
#=
5150
@test DiffRules.hasdiffrule(M, f, 3)
5251
derivs = DiffRules.diffrule(M, f, :foo, :bar, :goo)
5352
@eval begin
@@ -63,7 +62,6 @@ for (M, f, arity) in DiffRules.diffrules()
6362
@test isapprox(dz, finitediff(z -> $M.$f(foo, bar, z), goo), rtol=0.05)
6463
end
6564
end
66-
=#
6765
end
6866
end
6967

@@ -82,7 +80,6 @@ for xtype in [:Float64, :BigFloat, :Int64]
8280
end
8381

8482
# Test ifelse separately as first argument is boolean
85-
#=
8683
@test DiffRules.hasdiffrule(:Base, :ifelse, 3)
8784
derivs = DiffRules.diffrule(:Base, :ifelse, :foo, :bar, :goo)
8885
for cond in [true, false]
@@ -94,4 +91,4 @@ for cond in [true, false]
9491
@test isapprox(dz, finitediff(z -> ifelse(foo, bar, z), goo), rtol=0.05)
9592
end
9693
end
97-
=#
94+

0 commit comments

Comments
 (0)