Exemple #1
0
        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));
        }
Exemple #2
0
        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));
        }