Sha256: 5180122dab13c0a829ff2faff262b72d75acb700832f8f243338105f8bdd89f6
Contents?: true
Size: 1.05 KB
Versions: 115
Compression:
Stored size: 1.05 KB
Contents
namespace Exercism { using NUnit.Framework; [TestFixture] public class AcronymTest { [Test] public void Empty_string_abbreviated_to_empty_string() { Assert.That(Acronym.Abbreviate(string.Empty), Is.EqualTo(string.Empty)); } [TestCase("Portable Network Graphics", ExpectedResult = "PNG", Ignore = "Remove to run test case")] [TestCase("Ruby on Rails", ExpectedResult = "ROR", Ignore = "Remove to run test case")] [TestCase("HyperText Markup Language", ExpectedResult = "HTML", Ignore = "Remove to run test case")] [TestCase("First In, First Out", ExpectedResult = "FIFO", Ignore = "Remove to run test case")] [TestCase("PHP: Hypertext Preprocessor", ExpectedResult = "PHP", Ignore = "Remove to run test case")] [TestCase("Complementary metal-oxide semiconductor", ExpectedResult = "CMOS", Ignore = "Remove to run test case")] public string Phrase_abbreviated_to_acronym(string phrase) { return Acronym.Abbreviate(phrase); } } }
Version data entries
115 entries across 115 versions & 1 rubygems