Skip to content

Commit

Permalink
Update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lostella authored Dec 29, 2023
1 parent 7265492 commit 2a8cc1c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ using Test
using Aqua
using LinearAlgebra
using ProximalCore
using ProximalCore: prox, gradient, convex_conjugate
using ProximalCore: Zero, IndZero
import ProximalCore: prox!, is_convex, is_generalized_quadratic
using ProximalCore: prox, prox!
using ProximalCore: Zero, IndZero, convex_conjugate
import ProximalCore: is_convex, is_generalized_quadratic

@testset "Aqua" begin
Aqua.test_all(ProximalCore)
Expand Down Expand Up @@ -38,7 +38,6 @@ end
for T in [Float32, Float64]
@test let x = T[1.0, 2.0, 3.0]
prox(Zero(), x, T(42)) == (x, T(0))
gradient(Zero(), x) == (T[0, 0, 0], T(0))
end
end

Expand Down

0 comments on commit 2a8cc1c

Please sign in to comment.