"""Step definitions for Adaptive Loop Cycle Length feature."""
from behave import given, when, then


@given('a 1-bar loop and a 2-bar loop are active')
def one_and_two_bar_active(context):
    pass


@given('loops of 1, 2, and 3 bars are active')
def one_two_three_bars_active(context):
    pass


@given('loops of 1.5 and 2.0 bars are active')
def one_five_two_bars_active(context):
    pass


@given('loops of 1.0 and 1.37 bars are active')
def one_and_one_three_seven(context):
    pass


@when('the sequencer calculates the cycle')
def sequencer_calculates_cycle(context):
    pass


@then('the cycle length is 2 bars')
def cycle_two_bars(context):
    pass


@then('the 1-bar loop plays twice per cycle')
def one_bar_plays_twice(context):
    pass


@then('the cycle length is 6 bars')
def cycle_six_bars(context):
    pass


@then('the cycle length is 6.0 bars')
def cycle_six_point_zero(context):
    pass


@then('both loops complete an integer number of times')
def both_loops_integer(context):
    pass


@then('the cycle falls back to the longest duration')
def cycle_falls_back_longest(context):
    pass
