示例#1
0
        public void TransposeUpTest3()
        {
            SongReader      songReader           = GetSong2();
            ChordTransposer chordTransposer      = new ChordTransposer(songReader);
            SongReader      songReaderTransposed = chordTransposer.Transpose(new Chord("F"));

            Assert.AreEqual("F g.7 C G", songReaderTransposed.ToString());
        }
示例#2
0
        public void TransposeUpTest()
        {
            SongReader      songReader           = GetSong1();
            ChordTransposer chordTransposer      = new ChordTransposer(songReader);
            SongReader      songReaderTransposed = chordTransposer.Transpose(5, true);

            Assert.AreEqual("d F g C", songReaderTransposed.ToString());
        }