Skip to content

Commit

Permalink
Revert "also comment out trinary tests"
Browse files Browse the repository at this point in the history
This reverts commit 148b29c.
  • Loading branch information
mcabbott committed Jul 9, 2021
1 parent 6e7038d commit aa23af6
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ for (M, f, arity) in DiffRules.diffrules()
end
end
elseif arity == 3
#=
@test DiffRules.hasdiffrule(M, f, 3)
derivs = DiffRules.diffrule(M, f, :foo, :bar, :goo)
@eval begin
Expand All @@ -63,7 +62,6 @@ for (M, f, arity) in DiffRules.diffrules()
@test isapprox(dz, finitediff(z -> $M.$f(foo, bar, z), goo), rtol=0.05)
end
end
=#
end
end

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

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

0 comments on commit aa23af6

Please sign in to comment.