Sha256: eaf17c2429d9f533752455a319bf7ffdcd85db4ac1bffbff5b87ec96c0d444cc
Contents?: true
Size: 1.13 KB
Versions: 20
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 PascalCase() { 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
20 entries across 20 versions & 1 rubygems