From 3b6529558400485acecf18d400e03cd1385a3997 Mon Sep 17 00:00:00 2001 From: Ramy Date: Wed, 16 Oct 2024 09:09:29 +0200 Subject: [PATCH] Update tests/DataStructures/BSTreeTest.php Co-authored-by: Brandon Johnson --- tests/DataStructures/BSTreeTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/DataStructures/BSTreeTest.php b/tests/DataStructures/BSTreeTest.php index efdb79f..d4fb9d7 100644 --- a/tests/DataStructures/BSTreeTest.php +++ b/tests/DataStructures/BSTreeTest.php @@ -320,7 +320,7 @@ public function testGetDepth(): void $this->assertEquals(0, $this->tree->getdepth($root), "The root node should have a depth of 0."); $this->assertEquals(1, $this->tree->getdepth($node150), "Node 150 should have a depth of 1."); $this->assertEquals(4, $this->tree->getdepth($node110), "Node 110 should have a depth of 4."); - $this->assertEquals(6, $this->tree->getdepth($node70), "Node 300 should have a depth of 6."); + $this->assertEquals(6, $this->tree->getdepth($node70), "Node 70 should have a depth of 6."); } /**