Skip to content

Commit

Permalink
add good tests
Browse files Browse the repository at this point in the history
  • Loading branch information
oxinabox committed Oct 31, 2019
1 parent 4dbec95 commit baf92f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/differentials.jl
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@
end

@testset "Composite" begin

@test Ref(6.5) == Ref(5.0) + Composite{Base.RefValue{Floa64}}(x=1.5)
@test Ref(6.5) == Ref(5.0) + Composite{Base.RefValue{Float64}}(x=1.5)
@test Ref(6.5) == Composite{Base.RefValue{Float64}}(x=1.5)) + Ref(5.0)
end


Expand Down

0 comments on commit baf92f6

Please sign in to comment.