Skip to content

v0.8.6

Compare
Choose a tag to compare
@github-actions github-actions released this 25 Feb 16:41
· 107 commits to master since this release
d13a85c

Added

  • Added SystemTestCases variant to extend in test suite files. (qryxip/snowchains#131, #138)

    System test cases are stored under { cache directory }/cargo-compete/system-test-cases.
    They are automatically downloaded if missing when testing code.

    extend:
      - type: SystemTestCases
        problem: "https://atcoder.jp/contests/abc191/tasks/abc191_a"

Changed

  • cargo compete test command without --full option will append { type: Text, ... } to extend and will create empty in and out directories. (#138)

    cargo compete n arc110 --problems a
        Created `arc110` package at /home/ryo/src/competitive/atcoder/./arc110
        Saved 2 test cases to /home/ryo/src/competitive/atcoder/./arc110/testcases/{a.yml, a/}tree ./arc110/testcases
    ./arc110/testcases
    ├── a
    │   ├── in
    │   └── out
    └── a.yml
    
    3 directories, 1 file
    ---
    type: Batch
    timelimit: 2s
    match: Lines
    
    cases:
      - name: sample1
        in: |
          3
        out: |
          7
      - name: sample2
        in: |
          10
        out: |
          39916801
    
    extend:
      - type: Text
        path: "./a"
        in: /in/*.txt
        out: /out/*.txt
  • SystemTestCases will be used for --full option. (#138)

Fixed

  • Fixed a problem where cargo compete download command saves nothing. (#139)