Ejemplo n.º 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));
        }
Ejemplo n.º 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));
        }