Skip to content

Commit

Permalink
add assertions for new combo and combo skip
Browse files Browse the repository at this point in the history
  • Loading branch information
OliBomby committed Sep 2, 2023
1 parent b67bf88 commit 7438866
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions slider/tests/test_beatmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ def test_parse_section_hit_objects(beatmap):
assert hit_objects_0.time == timedelta(milliseconds=1076)
# Hit object note `type` is done by subclassing HitObject
assert isinstance(hit_objects_0, slider.beatmap.Slider)
assert hit_objects_0.new_combo
assert not hit_objects_0.combo_skip
# Slider specific parameters
assert hit_objects_0.end_time == timedelta(milliseconds=1178)
assert hit_objects_0.hitsound == 0
Expand Down

0 comments on commit 7438866

Please sign in to comment.