示例#1
0
        public void Harmonizer_Transpose_Asharp_12_Csharp()
        {
            //arrange
            const string note          = "A#";
            const int    transposition = -12;

            //action
            var result = Harmonizer.Transpose(note, transposition);

            //assert
            Assert.AreEqual("A#", result);
        }
示例#2
0
        public void Harmonizer_Transpose_B_C()
        {
            //arrange
            const string note          = "B";
            const int    transposition = 1;

            //action
            var result = Harmonizer.Transpose(note, transposition);

            //assert
            Assert.AreEqual("C", result);
        }