Faker\Test\Provider\BaseTest::testRandomDigitNotReturnsValidDigit PHP Méthode

testRandomDigitNotReturnsValidDigit() public méthode

    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);
        }
    }
BaseTest