"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const assert_1 = require("../assert");
const index_1 = require("./index");
assert_1.default.deepEqual((0, index_1.matchAll)([], [], () => true), []);
assert_1.default.deepEqual((0, index_1.matchAll)([0], [], () => true), []);
assert_1.default.deepEqual((0, index_1.matchAll)([0], [0], () => true), [[0, 0]]);
assert_1.default.deepEqual((0, index_1.matchAll)([0], [0, 1], () => true), [
    [0, 0],
    [0, 1],
]);
assert_1.default.deepEqual((0, index_1.matchAll)([0, 1], [0, 1], () => true), [
    [0, 0],
    [0, 1],
    [1, 0],
    [1, 1],
]);
assert_1.default.deepEqual((0, index_1.matchAll)([0, 1], [0, 1], (ai, bi) => ai * bi > 0), [[1, 1]]);
assert_1.default.deepEqual((0, index_1.matchAllExc)([], [], () => true), []);
assert_1.default.deepEqual((0, index_1.matchAllExc)([0], [], () => true), []);
assert_1.default.deepEqual((0, index_1.matchAllExc)([0], [0], () => true), [[[0, 0]]]);
assert_1.default.deepEqual((0, index_1.matchAllExc)([0], [0, 1], () => true), [[[0, 0]], [[0, 1]]]);
assert_1.default.deepEqual((0, index_1.matchAllExc)([0, 1], [0, 1], () => true), [
    [
        [0, 0],
        [1, 1],
    ],
    [
        [0, 1],
        [1, 0],
    ],
    [
        [1, 0],
        [0, 1],
    ],
    [
        [1, 1],
        [0, 0],
    ],
]);
assert_1.default.deepEqual((0, index_1.matchAllExc)([0, 1], [0, 1], (ai, bi) => ai > bi), [[[1, 0]]]);
assert_1.default.deepEqual((0, index_1.matchAllExc)([1, 0], [0, 1], (ai, bi) => ai > bi), [[[0, 0]]]);
assert_1.default.deepEqual((0, index_1.matchAllExc)([0, 1], [0, 1], (ai, bi) => ai * bi > 0), [[[1, 1]]]);
assert_1.default.deepEqual((0, index_1.matchAllExc)([0, 1], [0, 1], (ai, bi) => ai === 0), [[[0, 0]], [[0, 1]]]);
assert_1.default.deepEqual((0, index_1.matchAllExc)([0, 1], [0, 1], (ai, bi) => ai === 0 && bi === 0), [[[0, 0]]]);
//# sourceMappingURL=test.js.map