Commit 7dc1172
Expand L2 test vectors with seasons and decades
Adds 10 new rows to level2.tsv covering extended season codes and
the three-digit decade notation:
- Extended seasons: 2020-25, 2020-30, 2020-37, 2020-40, 2020-41
(one from each grouping in edtf.js's season min/max tables:
hemispheric variant, quadrimester, and half-year).
- Decades: 199, 202, -005 plus the three qualifier variants
199?, 199~, 199%.
Consecutive ranges ({start..end}) are deliberately excluded from
the generated vector set because edtf.js and this port disagree on
the list max bound (edtf.js returns start.max while we return
end.max, which we consider the correct interpretation of the
range). The round-trip behaviour is still exercised by targeted
unit tests in L2ParserTest.
Co-Authored-By: Claude <noreply@anthropic.com>1 parent 958d209 commit 7dc1172
2 files changed
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
51 | 55 | | |
52 | 56 | | |
53 | 57 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
0 commit comments