tests/Factorial/FactorialTest.php
/**
     * Provide test data sets.
     *
     * @return array Test data sets
     */
Provide test data sets.
@return array Test data sets
Provide test data sets . @return array Test data sets
public function testData()
    {
        $data = [];
        $data[] = [0, '1'];
        $data[] = [1, '1'];
        $data[] = [2, '2'];
        $data[] = [3, '6'];
        $data[] = [25, '15511210043330985984000000'];
        return $data;
    }
public function testData ( ) { $ data = [ ] ; $ data [ ] = [ 0 , '1' ] ; $ data [ ] = [ 1 , '1' ] ; $ data [ ] = [ 2 , '2' ] ; $ data [ ] = [ 3 , '6' ] ; $ data [ ] = [ 25 , '15511210043330985984000000' ] ; return $ data ; }
Provide test data sets.
Provide test data sets .