示例#1
0
文件: String.php 项目: Hywan/String
 public function case_get_width()
 {
     $this->given($string = new LUT('💩'))->when($result = $string->getWidth())->then->integer($result)->isEqualTo(1)->given($string = new LUT('習'))->when($result = $string->getWidth())->then->integer($result)->isEqualTo(2);
 }