1
0
mirror of synced 2024-12-12 06:51:05 +01:00

Merge pull request #14 from Stepland/loosen-konami-formats-tests

[konami] only test for 1/4 and 1/3 times
This commit is contained in:
Stepland 2021-05-28 01:28:04 +02:00 committed by GitHub
commit 7522634fa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 6 deletions

View File

@ -13,5 +13,5 @@ def test_that_full_chart_roundtrips(song: song.Song) -> None:
song,
temp_path=open_temp_dir(),
bytes_decoder=lambda b: b.decode("ascii"),
load_options={"beat_snap": 24},
load_options={"beat_snap": 12},
)

View File

@ -1,4 +1,4 @@
from hypothesis import given
from hypothesis import given, reproduce_failure
from jubeatools import song
from jubeatools.formats import Format
@ -15,5 +15,5 @@ def test_that_full_chart_roundtrips(song: song.Song) -> None:
song,
temp_path=open_temp_dir(),
bytes_decoder=lambda b: str(jbsq.parse(b)),
load_options={"beat_snap": 24},
load_options={"beat_snap": 12},
)

View File

@ -11,7 +11,7 @@ from jubeatools.testutils import strategies as jbst
from jubeatools.testutils.typing import DrawFunc
simple_beat_strat = jbst.beat_time(
denominator_strat=st.sampled_from([4, 8, 3]), max_section=10
denominator_strat=st.sampled_from([4, 3]), max_section=10
)
@ -29,7 +29,7 @@ def eve_compatible_song(draw: DrawFunc) -> song.Song:
time_strat=jbst.beat_time(
min_section=1,
max_section=10,
denominator_strat=st.sampled_from([4, 8, 3]),
denominator_strat=st.sampled_from([4, 3]),
),
),
notes_strat=jbst.notes(
@ -40,7 +40,7 @@ def eve_compatible_song(draw: DrawFunc) -> song.Song:
duration_strat=jbst.beat_time(
min_numerator=1,
max_section=3,
denominator_strat=st.sampled_from([4, 8, 3]),
denominator_strat=st.sampled_from([4, 3]),
),
),
),