-
Notifications
You must be signed in to change notification settings - Fork 84
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from HenryRLee/test_data
Add csv format test data
- Loading branch information
Showing
7 changed files
with
5,597,952 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Test Data | ||
|
||
Each directory has two sets of test data, both in csv format. The last column of each line | ||
represents the rank of the test case, and the other columns are the card input. | ||
|
||
In the `string_input_tests.csv` files, the card inputs are using string format, while in the | ||
`id_input_tests.csv` files, the inputs are [Card Id](../cpp/#cardid) format. | ||
|
||
For example, if we look at the file `five/string_input_tests.csv`, it has six columns. | ||
The first five columns are the five different cards, and the last column is the rank of the | ||
given five cards. | ||
|
||
```bash | ||
card_1,card_2,card_3,card_4,card_5,rank | ||
2C,2D,2H,2S,3C,166 | ||
2C,2D,2H,2S,3D,166 | ||
2C,2D,2H,2S,3H,166 | ||
2C,2D,2H,2S,3S,166 | ||
2C,2D,2H,2S,4C,165 | ||
2C,2D,2H,2S,4D,165 | ||
2C,2D,2H,2S,4H,165 | ||
2C,2D,2H,2S,4S,165 | ||
2C,2D,2H,2S,5C,164 | ||
``` | ||
|
||
The cards in the first test case are: 2C, 2D, 2H, 2S, and 3C, which ranks at 166. |
Oops, something went wrong.