Skip to content

Commit 83b6519

Browse files
committed
2 parents d4bb043 + 6858b0d commit 83b6519

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

test/result_test.jl

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,12 @@ end
128128
@test nsolutions(tsi_total_degree; multiple_results = true) == 1
129129
@test length(tsi_polyhedral) == 3
130130
@test length(tsi_total_degree) == 6
131-
@test sum(bitmask(isfinite, tsi_total_degree)) == 3
131+
132+
BM = bitmask_filter(isfinite, tsi_total_degree)
133+
@test length(BM) == sum(bitmask(isfinite, tsi_total_degree)) == 3
134+
135+
t = trace(BM)
136+
@test norm([1.0 + 0.0im, 1.0 + 0.0im] - t) < 1e-12
132137
end
133138

134139
@testset "Manual start solutions" begin

0 commit comments

Comments
 (0)