Sha256: 1ecb66e5157d9b3bed13dadfbfef4695e1d2644f948383d2af91a0458e0b2b47
Contents?: true
Size: 1.13 KB
Versions: 45
Compression:
Stored size: 1.13 KB
Contents
using Xunit; public class AcronymTest { [Fact] public void Basic() { Assert.Equal("PNG", Acronym.Abbreviate("Portable Network Graphics")); } [Fact(Skip = "Remove to run test")] public void Lowercase_words() { Assert.Equal("ROR", Acronym.Abbreviate("Ruby on Rails")); } [Fact(Skip = "Remove to run test")] public void Camelcase() { Assert.Equal("HTML", Acronym.Abbreviate("HyperText Markup Language")); } [Fact(Skip = "Remove to run test")] public void Punctuation() { Assert.Equal("FIFO", Acronym.Abbreviate("First In, First Out")); } [Fact(Skip = "Remove to run test")] public void All_caps_words() { Assert.Equal("PHP", Acronym.Abbreviate("PHP: Hypertext Preprocessor")); } [Fact(Skip = "Remove to run test")] public void Non_acronym_all_caps_word() { Assert.Equal("GIMP", Acronym.Abbreviate("GNU Image Manipulation Program")); } [Fact(Skip = "Remove to run test")] public void Hyphenated() { Assert.Equal("CMOS", Acronym.Abbreviate("Complementary metal-oxide semiconductor")); } }
Version data entries
45 entries across 45 versions & 1 rubygems