1
0
mirror of synced 2025-01-23 22:54:08 +01:00

Add test for 2P commands

This commit is contained in:
Viv 2023-07-24 16:55:52 -04:00
parent 6eb3676343
commit a09bfb87d4
3 changed files with 42 additions and 2 deletions

View File

@ -52,7 +52,7 @@ If there is an unsupported feature that you would like support for, please make
| `BPM:`, `OFFSET:` | `✅` | `✅` |   |
| `TITLE:`, `SUBTITLE:`, `WAVE:`,<br>`DEMOSTART:`, etc. | `⚪️` | `⚪️` | The only global metadata needed are `BPM:` and `OFFSET:`.   |
| `COURSE:`, `LEVEL:`, `BALLOON:`,<br> `SCOREINIT:`, `SCOREDIFF:` | `✅` | `✅` |   |
| `STYLE: Single`, `STYLE: Double` | `✅` | `❌` |   |
| `STYLE:Single`, `STYLE:Double` | `✅` | `❌` |   |
| `EXAM1:`, `GAUGEINCR:`, `TOTAL:`, etc. | `⚪️` | `⚪️` | Other simulator-specific metadata fields are not currently supported.  |
### Supported notes/commands
@ -66,7 +66,7 @@ If there is an unsupported feature that you would like support for, please make
| `C`, `D`, `E`, `F`, `G`, `H`, `I` | `⚠️` | `❌` | Replaced by normal notes/rolls in tja2fumen. |
| `9000,`<br>`9008,` | `⚪️` | `⚠️` | Double Kusudama note treated as 1 drumroll by tja2fumen, but 2 overlapping drumrolls by tja2bin. |
| `#START`, `#END` | `✅` | `✅` | |
| `#START P1`, `START P2` | `✅` | `` | |
| `#START P1`, `#START P2` | `✅` | `` | |
| `#MEASURE` | `✅` | `✅` | |
| `#BPMCHANGE` | `✅` | `⚠️` | See https://github.com/Fluto/TakoTako/issues/16 |
| `#DELAY` | `✅` | `❌` | |

View File

@ -0,0 +1,39 @@
// This song contains only basic notes.
BPM:120
OFFSET:-1.00
COURSE:Oni
LEVEL:10
BALLOON:8,8
SCOREINIT:400
SCOREDIFF:100
STYLE:Single
#START
1020304,
5000008,
6000008,
7000008,
9000008,
#END
BALLOON:8,8
SCOREINIT:400
SCOREDIFF:100
STYLE:Double
#START P1
1020304,
5000008,
6000008,
7000008,
9000008,
#END
#START P2
1020304,
5000008,
6000008,
7000008,
9000008,
#END

View File

@ -8,6 +8,7 @@ from conftest import convert
@pytest.mark.parametrize('id_song,err_msg', [
['basic_song', None],
['basic_song_2P', None],
['notes_double_kusudama', None],
['notes_hands', None],
['notes_sim_only', None],