1
0
mirror of synced 2024-11-15 01:47:34 +01:00
tja2fumen/testing
Viv 2dec26d2bf
Add support for #BRANCHSTART p,999,999 and #SECTION commands via imcanz.tja (#30)
This PR adds a new chart to the test suite (`imcanz.tja`) that uses
`p,0,0`, `p,999,999` _and_ `#SECTION` commands:

- `p,0,0`: Forces the chart into the Master branch (since it's
impossible to fail a 0% accuracy requirement)
- `p,999,999`: Forces the chart into the Normal branch (since it's
impossible to pass a 999% accuracy requirement)
- `#SECTION`: Resets accuracy values for notes and drumrolls on the next
measure. (In practice, this just means that the branch condition is
repeated on the next measure, at least according to the official fumen I
have.)

Note: Only the Oni and Hard difficulties have actually been added to the
test suite. The Normal and Easy charts were too broken to easily match
the official fumens. They will need a lot of work to fix charting
errors, so I'm leaving them commented out for now.

Fixes #27.
2023-07-09 19:56:57 -04:00
..
data Add support for #BRANCHSTART p,999,999 and #SECTION commands via imcanz.tja (#30) 2023-07-09 19:56:57 -04:00
conftest.py Adapt release workflow to also act as a test suite (#18) 2023-06-29 01:20:46 -04:00
test_conversion.py Add support for #BRANCHSTART p,999,999 and #SECTION commands via imcanz.tja (#30) 2023-07-09 19:56:57 -04:00
test_soulgauge_LUTs.py tests/: Add WIP test for soul-gauge byte LUTs 2023-06-29 21:24:55 -04:00