test_conversion.py
: Add balloon testing
(This wasn't already present????)
This commit is contained in:
parent
4e4a90a1f7
commit
5f763115cc
@ -11,6 +11,7 @@ from tja2fumen.parsers import parse_fumen
|
||||
|
||||
|
||||
@pytest.mark.parametrize('id_song', [
|
||||
pytest.param('emma'),
|
||||
pytest.param('butou5'),
|
||||
pytest.param('shoto9',
|
||||
marks=pytest.mark.skip("TJA measures do not match fumen.")),
|
||||
@ -165,7 +166,10 @@ def test_converted_tja_vs_cached_fumen(id_song, tmp_path, entry_point):
|
||||
i_branch, i_note, abv=25.0)
|
||||
except AssertionError:
|
||||
pass
|
||||
if ca_note.note_type not in ["Balloon", "Kusudama"]:
|
||||
if ca_note.note_type in ["Balloon", "Kusudama"]:
|
||||
check(co_note, ca_note, 'hits', i_measure,
|
||||
i_branch, i_note)
|
||||
else:
|
||||
check(co_note, ca_note, 'score_init', i_measure,
|
||||
i_branch, i_note)
|
||||
check(co_note, ca_note, 'score_diff', i_measure,
|
||||
|
Loading…
x
Reference in New Issue
Block a user