public function testEqual()
 {
     $this->eq(s::equal('aaa', 'aaa'), true);
     $this->eq(s::equal('aaa', 'bbb'), false);
     $this->eq(s::equal('', ''), true);
     $this->eq(s::equal('aaa', 'AAA'), false);
 }
Exemple #2
0
 public function equal($that)
 {
     return s::equal($this->value, self::unwrap($that));
 }