public int Compare(C曲リストノード n1, C曲リストノード n2)
 {
     return(CStrジャンルtoNum.ForAC15(n1.strジャンル).CompareTo(CStrジャンルtoNum.ForAC15(n2.strジャンル)));
 }
        public void TestForAC15SortOrder(string strジャンル, EジャンルAC15SortOrder expected)
        {
            var actual = CStrジャンルtoNum.ForAC15SortOrder(strジャンル);

            Assert.That(actual, Is.EqualTo(expected));
        }
        public void TestForFrameBoxIndex(string strジャンル, int expected)
        {
            var actual = CStrジャンルtoNum.ForFrameBoxIndex(strジャンル);

            Assert.That(actual, Is.EqualTo(expected));
        }
Example #4
0
 public int Compare(C曲リストノード n1, C曲リストノード n2)
 {
     return(CStrジャンルtoNum.Genre(n1.strGenre, order).CompareTo(CStrジャンルtoNum.Genre(n2.strGenre, order)));
 }