示例#1
0
 public function testRandomDigitReturnsDigit()
 {
     $this->assertTrue(BaseProvider::randomDigit() >= 0);
     $this->assertTrue(BaseProvider::randomDigit() < 10);
 }
示例#2
0
文件: BaseTest.php 项目: ruudk/Faker
 public static function randomDigit()
 {
     return parent::randomDigit();
 }