コード例 #1
0
ファイル: HashSetTest.php プロジェクト: robo47/BlazeFramework
 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));
 }
コード例 #2
0
ファイル: HashSetTest.php プロジェクト: oktopost/objection
 public function test_remove_RemoveInt()
 {
     $h = new HashSet(['a', 1]);
     $h->remove(1);
     $this->assertSame(['a'], $h->getKeys());
 }