File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ struct PropertyComparison{
2929end
3030
3131let
32- properties_abstractvector = Tuple{Symbol, String}[
32+ properties_abstractvector_integer = Tuple{Symbol, String}[
3333 (:DegreeSequence , " The *degree sequence* of an undirected graph." ),
3434 ]
3535 properties_real = Tuple{Symbol, String}[
104104 (:GraphIsSplitGraph , " Is an undirected graph a split graph?" ),
105105 ]
106106 for (typ, properties) ∈ (
107- (AbstractVector, properties_abstractvector ),
107+ (AbstractVector{ <: Integer }, properties_abstractvector_integer ),
108108 (Real, properties_real),
109109 (Integer, properties_integer),
110110 (Bool, properties_bool),
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ using Test
88 @test GraphIsChordal () isa GraphProperty{Bool}
99 @test Arboricity () isa GraphProperty{Integer}
1010 @test FractionalChromaticNumber () isa GraphProperty{Real}
11- @test DegreeSequence () isa GraphProperty{AbstractVector}
11+ @test DegreeSequence () isa GraphProperty{AbstractVector{ <: Integer } }
1212 end
1313end
1414
You can’t perform that action at this time.
0 commit comments