public function testRemove() { // Remove the following lines when you implement this test. $this->assertFalse($this->object->remove(89)); $this->assertTrue($this->object->remove(5)); $this->assertFalse($this->object->contains(5)); }
public function test_remove_RemoveInt() { $h = new HashSet(['a', 1]); $h->remove(1); $this->assertSame(['a'], $h->getKeys()); }