Function vmbTestPartitionMasterTestList

  • Partition a master test list (produced by vmbTestGroupToVmbTests or vmbTestDefinitionToVmbTests) into sets. E.g.:

    const definitions: VmbTestDefinitionGroup[] = [...]
    const master = [
    vmbTestDefinitionToVmbTests(...),
    vmbTestDefinitionToVmbTests(...),
    ];
    const partitioned = vmbTestPartitionMasterTestList(master);

    Or:

    const definitions: VmbTestDefinitionGroup[] = [...]
    const master = definitions.map(vmbTestGroupToVmbTests).flat(2);
    const partitioned = vmbTestPartitionMasterTestList(master);

    Tests are aggregated by set into a map of test sets (e.g. to export to separate files).

    Parameters

    Returns {
        2022_invalid: undefined | VmbTest[];
        2022_nonstandard: undefined | VmbTest[];
        2022_standard: undefined | VmbTest[];
        2023_invalid: undefined | VmbTest[];
        2023_nonstandard: undefined | VmbTest[];
        2023_standard: undefined | VmbTest[];
        before_chip_cashtokens_invalid: undefined | VmbTest[];
        before_chip_cashtokens_nonstandard: undefined | VmbTest[];
        before_chip_cashtokens_standard: undefined | VmbTest[];
        chip_cashtokens_invalid: undefined | VmbTest[];
        chip_cashtokens_nonstandard: undefined | VmbTest[];
        chip_cashtokens_standard: undefined | VmbTest[];
        chip_limits_invalid: undefined | VmbTest[];
        chip_limits_nonstandard: undefined | VmbTest[];
        chip_limits_standard: undefined | VmbTest[];
        chip_loops_invalid: undefined | VmbTest[];
        chip_loops_nonstandard: undefined | VmbTest[];
        chip_loops_standard: undefined | VmbTest[];
        chip_p2sh32_invalid: undefined | VmbTest[];
        chip_p2sh32_nonstandard: undefined | VmbTest[];
        chip_p2sh32_standard: undefined | VmbTest[];
        chip_strict_checkmultisig_invalid: undefined | VmbTest[];
        chip_strict_checkmultisig_nonstandard: undefined | VmbTest[];
        chip_strict_checkmultisig_standard: undefined | VmbTest[];
        chip_zce_invalid: undefined | VmbTest[];
        chip_zce_nonstandard: undefined | VmbTest[];
        chip_zce_standard: undefined | VmbTest[];
    }

    • 2022_invalid: undefined | VmbTest[]
    • 2022_nonstandard: undefined | VmbTest[]
    • 2022_standard: undefined | VmbTest[]
    • 2023_invalid: undefined | VmbTest[]
    • 2023_nonstandard: undefined | VmbTest[]
    • 2023_standard: undefined | VmbTest[]
    • before_chip_cashtokens_invalid: undefined | VmbTest[]
    • before_chip_cashtokens_nonstandard: undefined | VmbTest[]
    • before_chip_cashtokens_standard: undefined | VmbTest[]
    • chip_cashtokens_invalid: undefined | VmbTest[]
    • chip_cashtokens_nonstandard: undefined | VmbTest[]
    • chip_cashtokens_standard: undefined | VmbTest[]
    • chip_limits_invalid: undefined | VmbTest[]
    • chip_limits_nonstandard: undefined | VmbTest[]
    • chip_limits_standard: undefined | VmbTest[]
    • chip_loops_invalid: undefined | VmbTest[]
    • chip_loops_nonstandard: undefined | VmbTest[]
    • chip_loops_standard: undefined | VmbTest[]
    • chip_p2sh32_invalid: undefined | VmbTest[]
    • chip_p2sh32_nonstandard: undefined | VmbTest[]
    • chip_p2sh32_standard: undefined | VmbTest[]
    • chip_strict_checkmultisig_invalid: undefined | VmbTest[]
    • chip_strict_checkmultisig_nonstandard: undefined | VmbTest[]
    • chip_strict_checkmultisig_standard: undefined | VmbTest[]
    • chip_zce_invalid: undefined | VmbTest[]
    • chip_zce_nonstandard: undefined | VmbTest[]
    • chip_zce_standard: undefined | VmbTest[]

Generated using TypeDoc