public void AddOctavesMultipleNegative() { Pitch newPitch = Operators.AddOctaves(_pitch, -3); Assert.AreEqual(Note.F, newPitch.note); Assert.AreEqual(1, newPitch.octave); }
public void AddOctavesMultipleNegativeWithOverflow() { Pitch newPitch = Operators.AddOctaves(_pitch, -5); Assert.AreEqual(Note.F, newPitch.note); Assert.AreEqual(-1, newPitch.octave); }
public void AddOctave() { Pitch newPitch = Operators.AddOctaves(_pitch, 1); Assert.AreEqual(Note.F, newPitch.note); Assert.AreEqual(5, newPitch.octave); }