Skip to content

Commit 79771a3

Browse files
committed
Added test documentation
Added error messages when needed and display names to all methods.
1 parent 177f115 commit 79771a3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/com/thealgorithms/datastructures/trees/GenericTreeTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ void testCreateInValidTree() {
101101
@Test
102102
@DisplayName("Gets the correct number of nodes in the tree")
103103
void testGettingCorrectSizeOfTree() {
104-
Assertions.assertEquals(3, tree.size2call());
104+
Assertions.assertEquals(9, tree.size2call());
105105
}
106106

107107
@Test

0 commit comments

Comments
 (0)