tests/AppBundle/Service/AlgorithmTest.php
/**
     * Data provider for isValidNumber tests.
     *
     * Param 1: number [Length sequence of numbers]
     * Param 2: expected result
     */
Data provider for isValidNumber tests.
Param 1: number [Length sequence of numbers]
Param 2: expected result
Data provider for isValidNumber tests . Param 1 : number [ Length sequence of numbers ] Param 2 : expected result
public function dataIsValidNumberProvider()
    {
        return array(
            array(-1, false),
            array(0, false),
            array(1, true),
            array(2, true),
            array(3, true),
        );
    }
public function dataIsValidNumberProvider ( ) { return array ( array ( - 1 , false ) , array ( 0 , false ) , array ( 1 , true ) , array ( 2 , true ) , array ( 3 , true ) , ) ; }
Data provider for isValidNumber tests.
Data provider for isValidNumber tests .