Skip to content

Commit bb29829

Browse files
committed
Update sets.jl
1 parent 377a8fe commit bb29829

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

test/sets.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@
1212
@test typeof(copy(s)) <: S
1313
@test copy(s) === s # Same object.
1414

15-
@test MOI.dimension(S()) == 2
15+
if S == CP.AbsoluteValue
16+
@test MOI.dimension(S()) == 2
17+
elseif S == CP.Modulo
18+
@test MOI.dimension(S()) == 3
19+
else
20+
error("$(S) not implemented")
21+
end
1622
end
1723

1824
# Just a dimension.

0 commit comments

Comments
 (0)