public void PunctuationWithoutWhitespace() { const string phrase = "Complementary metal-oxide semiconductor"; const string expected = "CMOS"; Assert.Equal(expected, Tasks.Acronym(phrase)); }
public void Punctuation() { const string phrase = "First In, First Out"; const string expected = "FIFO"; Assert.Equal(expected, Tasks.Acronym(phrase)); }
public void NonAcronymAllCapsWord() { const string phrase = "GNU Image Manipulation Program"; const string expected = "GIMP"; Assert.Equal(expected, Tasks.Acronym(phrase)); }
public void Basic() { const string phrase = "Portable Network Graphics"; const string expected = "PNG"; Assert.Equal(expected, Tasks.Acronym(phrase)); }