isProperSubset() 공개 메소드

Proper subset (A ⊆ B & A ≠ B) Is the set a proper subset of the other set? In other words, does the other set contain all the elements of the set, and the set is not the same set as the other set?
public isProperSubset ( Set $B ) : boolean
$B Set
리턴 boolean
예제 #1
0
 /**
  * @dataProvider dataProviderForIsProperSet
  */
 public function testIsProperSubset(array $A, array $B)
 {
     $setA = new Set($A);
     $setB = new Set($B);
     $this->assertTrue($setA->isProperSubset($setB));
 }