コード例 #1
0
 public void CheckAcronym_When_StringWithLowerCaseIsPassed()
 {
     Assert.AreEqual("AJAX", AcronymFactory.GetAcronym("Asynchronous javascript and XML"));
     Assert.AreEqual("RAB", AcronymFactory.GetAcronym("rythm and blues"));
 }
コード例 #2
0
 public void CheckAcronym_When_MoreEmptySpacesBetweenWords()
 {
     Assert.AreEqual("LOL", AcronymFactory.GetAcronym("laughing   out      loud"));
 }
コード例 #3
0
 public void CheckAcronym_When_StringWithUpperCaseIsPassed()
 {
     Assert.AreEqual("IDK", AcronymFactory.GetAcronym("I Don't Know"));
     Assert.AreEqual("LMSA", AcronymFactory.GetAcronym("Let's Make Some Acronyms"));
 }