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

Version Path
trackler-2.0.8.14 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.8.13 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.8.12 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.8.11 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.8.10 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.8.9 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.8.8 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.8.7 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.8.6 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.8.5 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.8.4 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.8.3 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.8.2 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.8.1 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.7.0 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.6.44 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.6.43 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.6.42 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.6.41 tracks/csharp/exercises/acronym/AcronymTest.cs
trackler-2.0.6.40 tracks/csharp/exercises/acronym/AcronymTest.cs