Polyman Documentation - v2.2.2
    Preparing search index...

    Interface Test

    Represents a test case for the problem. Test

    interface Test {
        index: number;
        manual: boolean;
        input?: string;
        description?: string;
        useInStatements: boolean;
        scriptLine?: string;
        group?: string;
        points?: number;
        inputForStatement?: string;
        outputForStatement?: string;
        verifyInputOutputForStatements?: boolean;
    }
    Index

    Properties

    index: number

    Test number (1-indexed)

    manual: boolean

    True if manually created, false if generated

    input?: string

    Test input data (absent for generated tests)

    description?: string

    Human-readable test description

    useInStatements: boolean

    Whether test appears in problem statement

    scriptLine?: string

    Generator command (absent for manual tests)

    group?: string

    Test group name

    points?: number

    Points for this test (if points are enabled)

    inputForStatement?: string

    Input to show in statement

    outputForStatement?: string

    Output to show in statement

    verifyInputOutputForStatements?: boolean

    Verify statement I/O