예제 #1
0
 public void Test5()
 {
     try {
         Solution.GetMostOccurringCharacter("      ");
         Assert.Fail();
     }
     catch
     {
         Assert.Pass();
     }
 }
예제 #2
0
 public void Test1()
 {
     Assert.AreEqual(Solution.GetMostOccurringCharacter("Hello World"), 'l');
 }
예제 #3
0
 public void Test4()
 {
     Assert.AreEqual(Solution.GetMostOccurringCharacter("abbbccceeddddeee"), 'e');
 }
예제 #4
0
 public void Test2()
 {
     Assert.AreEqual(Solution.GetMostOccurringCharacter("Hollow World"), 'o');
 }