forked from exercism/rust
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
scale-generator: Require N+1 notes from N intervals
The problem has been explained in exercism/problem-specifications#1640: All previous cases only required N notes from N intervals, but that meant the last interval was completely ignored. That causes confusion (what is the last interval there for?). To fix this, all tests with the `interval` property are updated. The `tonic` and `intervals` inputs have not changed. The `expected` has changed only in that there is one more note added, indicated by the last interval, which was previously ignored. exercism/problem-specifications#1888
- Loading branch information
1 parent
f3f1f0e
commit 93d392d
Showing
2 changed files
with
43 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters