MathPHP\SetTheory\SetTest::dataProviderForAsArray PHP Method

dataProviderForAsArray() public method

    public function dataProviderForAsArray()
    {
        return [[[], []], [[0], [0 => 0]], [[1], [1 => 1]], [[5], [5 => 5]], [[-5], ['-5' => -5]], [[1, 2], [1 => 1, 2 => 2]], [[1, 2, 3], [1 => 1, 2 => 2, 3 => 3]], [[1, -2, 3], [1 => 1, '-2' => -2, 3 => 3]], [[1, 2, 3, 4, 5, 6], [1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6]], [[1, 2, 3, 4, 5, 6, 7, 8, 9, 10], [1 => 1, 2 => 2, 3 => 3, 4 => 4, 5 => 5, 6 => 6, 7 => 7, 8 => 8, 9 => 9, 10 => 10]], [[1, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6, 2, 2.01, 2.001, 2.15], [1 => 1, '1.1' => 1.1, '1.2' => 1.2, '1.3' => 1.3, '1.4' => 1.4, '1.5' => 1.5, '1.6' => 1.6, 2 => 2, '2.01' => 2.01, '2.001' => 2.001, '2.15' => 2.15]], [['a'], ['a' => 'a']], [['a', 'b'], ['a' => 'a', 'b' => 'b']], [['a', 'b', 'c', 'd', 'e'], ['a' => 'a', 'b' => 'b', 'c' => 'c', 'd' => 'd', 'e' => 'e']], [[1, 2, 'a', 'b', 3.14, 'hello', 'goodbye'], [1 => 1, 2 => 2, 'a' => 'a', 'b' => 'b', '3.14' => 3.14, 'hello' => 'hello', 'goodbye' => 'goodbye']], [[1, 2, 3, new Set([1, 2]), 'a', 'b'], [1 => 1, 2 => 2, 3 => 3, 'Set{1, 2}' => new Set([1, 2]), 'a' => 'a', 'b' => 'b']], [['a', 1, 'b', new Set([1, 'b']), new Set([3, 4, 5]), '4', 5], ['a' => 'a', 1 => 1, 'b' => 'b', 'Set{1, b}' => new Set([1, 'b']), 'Set{3, 4, 5}' => new Set([3, 4, 5]), '4' => '4', 5 => 5]]];
    }