MathPHP\SetTheory\SetOperationsTest::dataProviderForSingleSet PHP Метод

dataProviderForSingleSet() публичный Метод

    public function dataProviderForSingleSet()
    {
        $fh = fopen(__FILE__, 'r');
        $vector = new Vector([1, 2, 3]);
        $func = function ($x) {
            return $x * 2;
        };
        return [[[]], [[0]], [[1]], [[5]], [[-5]], [[1, 2]], [[1, 2, 3]], [[1, -2, 3]], [[1, 2, 3, 4, 5, 6]], [[1, 2, 3, 4, 5, 6, 7, 8, 9, 10]], [[1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 2, 2.01, 2.001, 2.15]], [['a']], [['a', 'b']], [['a', 'b', 'c', 'd', 'e']], [[1, 2, 'a', 'b', 3.14, 'hello', 'goodbye']], [[1, 2, 3, new Set([1, 2]), 'a', 'b']], [['a', 1, 'b', new Set([1, 'b'])]], [['a', 1, 'b', new Set([1, 'b']), '4', 5]], [['a', 1, 'b', new Set([1, 'b']), new Set([3, 4, 5]), '4', 5]], [[1, 2, 3, [1, 2], [2, 3, 4]]], [[1, 2, $fh, $vector, [4, 5], 6, 'a', $func, 12, new Set([4, 6, 7]), new Set(), 'sets']]];
    }