The function MeasureDurationValidator.findLargestDuration(lessThan:) -> NoteDuration should be refactored. All durations should be static getter of NoteDuration struct and function findLargest(start:, end:) -> NoteDuration should be in Array extension for equatables elements
The function
MeasureDurationValidator.findLargestDuration(lessThan:) -> NoteDuration
should be refactored. All durations should be static getter ofNoteDuration
struct and functionfindLargest(start:, end:) -> NoteDuration
should be in Array extension for equatables elements