We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e376ff9 commit 3c6d155Copy full SHA for 3c6d155
tests/IntervalTreeTest.php
@@ -59,6 +59,7 @@ public function testFindAnyIntersection(): void
59
public function testRemove(): void
60
{
61
$initialSize = $this->tree->getSize();
62
+ self::assertEquals(count($this->intervals), $initialSize);
63
self::assertTrue($this->tree->remove(Interval::fromArray([7, 8]), '7-8'));
64
self::assertEquals($this->tree->getSize(), --$initialSize);
65
self::assertFalse($this->tree->remove(Interval::fromArray([1, 4]), '1-3'));
0 commit comments