コード例 #1
0
ファイル: BaseTest.php プロジェクト: Wookashlab/MainRepo
 public function testRandomDigitNotReturnsValidDigit()
 {
     for ($i = 0; $i <= 9; $i++) {
         $this->assertTrue(BaseProvider::randomDigitNot($i) >= 0);
         $this->assertTrue(BaseProvider::randomDigitNot($i) < 10);
         $this->assertTrue(BaseProvider::randomDigitNot($i) !== $i);
     }
 }