1 | <?php |
||
6 | class DisjointSetTest extends TestCase { |
||
|
|||
7 | private $set; |
||
8 | |||
9 | public function setUp() { |
||
12 | |||
13 | public function testMakeSet() { |
||
19 | |||
20 | /* |
||
21 | public function testFindSet() { |
||
22 | $this->set->makeSet('hello'); |
||
23 | $this->set->makeSet('goodbye'); |
||
24 | $this->set->union(0, 1); |
||
25 | var_dump($this->set); |
||
26 | $this->assertEquals(2, count($this->set)); |
||
27 | } |
||
28 | */ |
||
29 | } |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.