Exemple #1
0
        public void ChangeScalePitchSame([Range(0, 11)] int pitch, [Range(0, 7)] int from, [Range(0, 7)] int to)
        {
            var original = Key.FromPitch((Pitch)pitch, (Scale)from);
            var modified = Key.ChangeScale(original, (Scale)to);

            Assert.AreEqual(original.Pitch, modified.Pitch);
        }