-
Notifications
You must be signed in to change notification settings - Fork 6
ShowCases
EROUI Abdelaziz edited this page Jan 15, 2021
·
1 revision
egor showcases or egor sc allow you to print few information about your test cases. This command doesn't print the content of the tests. The # (number) of the test cases is the case id, so you can use egor printcase 0 to print sample case with id 0.
$ egor showcases
Listing 2 testcase(s)...
┌───┬───────────┬──────────────────┬────────────────────┬────────┐
│ # │ TEST NAME │ INPUT PATH │ OUTPUT PATH │ CUSTOM │
├───┼───────────┼──────────────────┼────────────────────┼────────┤
│ 0 │ test-0 │ inputs/test-0.in │ outputs/test-0.ans │ false │
│ 1 │ test-1 │ inputs/test-1.in │ outputs/test-1.ans │ true │
└───┴───────────┴──────────────────┴────────────────────┴────────┘
$ egor printcase 0
Input
================================================================================
3
1 2 3
Output
================================================================================
6