public void RootingAShape_SetsTheCorrectNotes_BasedOnTheShapePositions(Note rootNote, Note[] expectedNotes) { var shape = new ChordShape("", Positions.Root, Positions.Fifth); var chord = shape.RootAt(rootNote); Assert.That(chord.Notes, Is.EquivalentTo(expectedNotes)); }
public void RootingAShape_SetsTheRootedNote_AsTheRootNote(Note note) { var shape = new ChordShape("", Positions.Root); var chord = shape.RootAt(note); Assert.That(chord.RootNote, Is.EqualTo(note)); }