예제 #1
0
파일: String.php 프로젝트: Hywan/String
 public function case_to_lower()
 {
     $this->given($string = new LUT('Σ \'ΑΓΑΠΏ'))->when($result = $string->toLowerCase())->then->object($result)->isIdenticalTo($string)->string((string) $result)->isEqualTo('σ \'αγαπώ')->given($string = new LUT('JE T\'AIME'))->when($result = $string->toLowerCase())->then->object($result)->isIdenticalTo($string)->string((string) $result)->isEqualTo('je t\'aime');
 }