예제 #1
0
파일: TextTest.php 프로젝트: puwenhan/Text
 public function testIsNumeric()
 {
     $text = new Text("13.5");
     $this->assertTrue($text->isNumeric());
     $text = new Text("zero");
     $this->assertFalse($text->isNumeric());
 }