def test_week_calcuation(): assert 2 == calculate_weeks(points = 20, velocity = 5, team_capacity = 2 )
def test_velocity_calculator_maker(): velocity_calculator = velocity_calculator_maker(target_points = 20, capacity = 2) assert calculate_weeks(points = 20, velocity = 5, team_capacity = 2) == velocity_calculator(velocity = 5)