Skip to content

Commit 4684d77

Browse files
committed
Relax the assertion for used colors
1 parent ed78798 commit 4684d77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

algo/src/test/java/org/neo4j/gds/beta/k1coloring/K1ColoringTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,8 +136,8 @@ void testParallelK1Coloring() {
136136
.isLessThan(20L);
137137

138138
assertThat(usedColors.size())
139-
.as("Used colors should be less than 20")
140-
.isLessThan(20);
139+
.as("Used colors should be less than or equal to 20")
140+
.isLessThanOrEqualTo(20);
141141
}
142142

143143

0 commit comments

Comments
 (0)