public testIntersectionCommutative ( |
||
$A | ||
$B |
public function testIntersectionCommutative(Set $A, Set $B)
{
$A∩B = $A->intersect($B);
$B∩A = $B->intersect($A);
$this->assertEquals($A∩B, $B∩A);
$this->assertEquals($A∩B->asArray(), $B∩A->asArray());
}