Skip to content

Commit 06aee5c

Browse files
increase coverage
1 parent 73195a6 commit 06aee5c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/runtests.jl

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,14 @@ end
167167
nfix = length(qp.meta.jfix)
168168
ns = qp.meta.ncon - nfix
169169
x = rand(SM.meta.nvar)
170+
y = rand(SM.meta.ncon)
170171
@test SM.meta.nvar == qp.meta.nvar + ns
171172
@test obj(SM, x) == obj(SMLO, x)
172173
@test grad(SM, x) == grad(SMLO, x)
173174
@test cons(SM, x) == cons(SMLO, x)
175+
@test hprod(SMLO, x, x) == hprod(SMLO, x, x)
176+
@test jtprod(SMLO, x, y) == jtprod(SM, x, y)
177+
@test objgrad(SMLO, x) == objgrad(SM, x)
174178
end
175179

176180
include("test_presolve.jl")

0 commit comments

Comments
 (0)