Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 088b250

Browse files
committed
Change BST depth() method test case
1 parent 65244e9 commit 088b250

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

‎2-0-data-structures-and-algorithms/2-2-6-binary-search-tree/src/test/java/com/bobocode/cs/BinarySearchTreeTest.java

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -262,19 +262,17 @@ public static Stream<Arguments> depthArguments() {
262262
*/
263263
arguments(new Integer[]{1, 2, 3, 4, 5}, 4),
264264
/*
265-
* ......10
266-
* ...../..\
267-
* ....6....18
268-
* .../......\
269-
* ..4........20
270-
* ...\........\
271-
* ....5........24
272-
* ..............\
273-
* ...............26
274-
* ................\
275-
* .................30
265+
* .........6
266+
* ....../.....\
267+
* .....2.......7
268+
* .../...\......\
269+
* ..1.....5......8
270+
* ......./........\
271+
* ......4..........9
272+
* ...../.............
273+
* ....3...............
276274
*/
277-
arguments(new Integer[]{10, 6, 18, 4, 8, 12, 20, 5, 24, 26, 30}, 5));
275+
arguments(new Integer[]{6, 2, 7, 1, 5, 8, 4, 9, 3}, 4));
278276
}
279277

280278

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /