public testAddTwiceDoesNothing ( array $A, $x, array $R ) | ||
$A | array | |
$R | array |
public function testAddTwiceDoesNothing(array $A, $x, array $R)
{
$setA = new Set($A);
$setR = new Set($R);
$setA->add($x);
$setA->add($x);
$this->assertEquals($setR, $setA);
}