isSuperset() public method

Superset (A ⊇ B) Is the set a superset of the other set? In other words, does the the set contain all the elements of the other set?
public isSuperset ( Set $B ) : boolean
$B Set
return boolean
コード例 #1
0
 /**
  * @dataProvider dataProviderForIsSubsetSuperset
  */
 public function testIsSuperset(array $A, array $B)
 {
     $setA = new Set($B);
     $setB = new Set($A);
     $this->assertTrue($setA->isSuperset($setB));
 }