public testUnionCommutative ( |
||
$A | ||
$B |
public function testUnionCommutative(Set $A, Set $B)
{
$A∪B = $A->union($B);
$B∪A = $B->union($A);
$this->assertEquals($A∪B, $B∪A);
$this->assertEquals($A∪B->asArray(), $B∪A->asArray());
}