Sha256: 021d1f73205a364a2bf4511feaaa22c7aa0d12573ead33052133c0f84d9e48d1

Contents?: true

Size: 1.93 KB

Versions: 87

Compression:

Stored size: 1.93 KB

Contents

// This file was auto-generated based on version 1.3.0 of the canonical data.

using Xunit;

public class PangramTest
{
    [Fact]
    public void Sentence_empty()
    {
        Assert.False(Pangram.IsPangram(""));
    }

    [Fact(Skip = "Remove to run test")]
    public void Recognizes_a_perfect_lower_case_pangram()
    {
        Assert.True(Pangram.IsPangram("abcdefghijklmnopqrstuvwxyz"));
    }

    [Fact(Skip = "Remove to run test")]
    public void Pangram_with_only_lower_case()
    {
        Assert.True(Pangram.IsPangram("the quick brown fox jumps over the lazy dog"));
    }

    [Fact(Skip = "Remove to run test")]
    public void Missing_character_x()
    {
        Assert.False(Pangram.IsPangram("a quick movement of the enemy will jeopardize five gunboats"));
    }

    [Fact(Skip = "Remove to run test")]
    public void Another_missing_character_e_g_h()
    {
        Assert.False(Pangram.IsPangram("five boxing wizards jump quickly at it"));
    }

    [Fact(Skip = "Remove to run test")]
    public void Pangram_with_underscores()
    {
        Assert.True(Pangram.IsPangram("the_quick_brown_fox_jumps_over_the_lazy_dog"));
    }

    [Fact(Skip = "Remove to run test")]
    public void Pangram_with_numbers()
    {
        Assert.True(Pangram.IsPangram("the 1 quick brown fox jumps over the 2 lazy dogs"));
    }

    [Fact(Skip = "Remove to run test")]
    public void Missing_letters_replaced_by_numbers()
    {
        Assert.False(Pangram.IsPangram("7h3 qu1ck brown fox jumps ov3r 7h3 lazy dog"));
    }

    [Fact(Skip = "Remove to run test")]
    public void Pangram_with_mixed_case_and_punctuation()
    {
        Assert.True(Pangram.IsPangram("\"Five quacking Zephyrs jolt my wax bed.\""));
    }

    [Fact(Skip = "Remove to run test")]
    public void Upper_and_lower_case_versions_of_the_same_character_should_not_be_counted_separately()
    {
        Assert.False(Pangram.IsPangram("the quick brown fox jumps over with lazy FX"));
    }
}

Version data entries

87 entries across 87 versions & 1 rubygems

Version Path
trackler-2.2.1.90 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.89 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.88 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.87 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.86 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.85 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.84 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.83 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.82 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.81 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.80 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.79 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.78 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.77 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.76 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.75 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.74 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.73 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.72 tracks/csharp/exercises/pangram/PangramTest.cs
trackler-2.2.1.71 tracks/csharp/exercises/pangram/PangramTest.cs