Skip to content

Commit e0c9edd

Browse files
New n_components tests
1 parent 3a2a9ea commit e0c9edd

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

test/nid_test.jl

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@
5353

5454
N3 = nid(F; monodromy_options = MonodromyOptions(; trace_test_tol = 1e-12))
5555
@test isa(N3, NumericalIrreducibleDecomposition)
56+
57+
# number of components
58+
@test n_components(N3) == 4
59+
@test n_components(N3, dims = [1, 2]) == 3
60+
@test n_components(N3, 1) == 2
5661
end
5762

5863
@testset "Hypersurface of degree 5" begin

0 commit comments

Comments
 (0)