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

    Function runSolutionOnTestset

    • Runs a single solution on an entire testset. Executes it on all tests in the testset using pre-compiled executable. Note: Solution must be compiled before calling this function.

      Parameters

      • solution: LocalSolution

        Solution configuration

      • config: default

        Configuration containing time/memory limits

      • testsetName: string

        Name of testset to run on

      Returns Promise<void>

      If solution fails on any test

      await runSolutionOnTestset(solution, config, 'testsets');