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:
commit
7522634fa1
@ -13,5 +13,5 @@ def test_that_full_chart_roundtrips(song: song.Song) -> None:
|
|||||||
song,
|
song,
|
||||||
temp_path=open_temp_dir(),
|
temp_path=open_temp_dir(),
|
||||||
bytes_decoder=lambda b: b.decode("ascii"),
|
bytes_decoder=lambda b: b.decode("ascii"),
|
||||||
load_options={"beat_snap": 24},
|
load_options={"beat_snap": 12},
|
||||||
)
|
)
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
from hypothesis import given
|
from hypothesis import given, reproduce_failure
|
||||||
|
|
||||||
from jubeatools import song
|
from jubeatools import song
|
||||||
from jubeatools.formats import Format
|
from jubeatools.formats import Format
|
||||||
@ -15,5 +15,5 @@ def test_that_full_chart_roundtrips(song: song.Song) -> None:
|
|||||||
song,
|
song,
|
||||||
temp_path=open_temp_dir(),
|
temp_path=open_temp_dir(),
|
||||||
bytes_decoder=lambda b: str(jbsq.parse(b)),
|
bytes_decoder=lambda b: str(jbsq.parse(b)),
|
||||||
load_options={"beat_snap": 24},
|
load_options={"beat_snap": 12},
|
||||||
)
|
)
|
||||||
|
@ -11,7 +11,7 @@ from jubeatools.testutils import strategies as jbst
|
|||||||
from jubeatools.testutils.typing import DrawFunc
|
from jubeatools.testutils.typing import DrawFunc
|
||||||
|
|
||||||
simple_beat_strat = jbst.beat_time(
|
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(
|
time_strat=jbst.beat_time(
|
||||||
min_section=1,
|
min_section=1,
|
||||||
max_section=10,
|
max_section=10,
|
||||||
denominator_strat=st.sampled_from([4, 8, 3]),
|
denominator_strat=st.sampled_from([4, 3]),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
notes_strat=jbst.notes(
|
notes_strat=jbst.notes(
|
||||||
@ -40,7 +40,7 @@ def eve_compatible_song(draw: DrawFunc) -> song.Song:
|
|||||||
duration_strat=jbst.beat_time(
|
duration_strat=jbst.beat_time(
|
||||||
min_numerator=1,
|
min_numerator=1,
|
||||||
max_section=3,
|
max_section=3,
|
||||||
denominator_strat=st.sampled_from([4, 8, 3]),
|
denominator_strat=st.sampled_from([4, 3]),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
Loading…
Reference in New Issue
Block a user