Skip to content

Commit

Permalink
Update tests/DataStructures/BSTreeTest.php
Browse files Browse the repository at this point in the history
Co-authored-by: Brandon Johnson <[email protected]>
  • Loading branch information
Ramy-Badr-Ahmed and darwinz authored Oct 16, 2024
1 parent 42cb14a commit 3b65295
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/DataStructures/BSTreeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.");
}

/**
Expand Down

0 comments on commit 3b65295

Please sign in to comment.