Example #1
0
 public function testIsUpper()
 {
     $this->eq(s::isUpper('a'), false);
     $this->eq(s::isUpper('A'), true);
     $this->eq(s::isUpper('abcdef'), false);
     $this->eq(s::isUpper('ABCDEF'), true);
     $this->eq(s::isUpper('ABCdef'), false);
 }
Example #2
0
 public function isUpper()
 {
     return s::isUpper($this->value);
 }