Sha256: 80f0fe5e815b1c1ccee7258c1b4cf95662150f313984dae1ada41d538a2eb525

Contents?: true

Size: 1.66 KB

Versions: 96

Compression:

Stored size: 1.66 KB

Contents

<?php

require "pangram.php";

class PangramTest extends PHPUnit_Framework_TestCase
{
    public function testSentenceEmpty()
    {
        $this->assertFalse(isPangram(''));
    }

    public function testPangramWithOnlyLowerCase()
    {
        $this->markTestSkipped();
        $this->assertTrue(isPangram('the quick brown fox jumps over the lazy dog'));
    }

    public function testMissingCharacterX()
    {
        $this->markTestSkipped();
        $this->assertFalse(isPangram('a quick movement of the enemy will jeopardize five gunboats'));
    }

    public function testAnotherMissingCharacterX()
    {
        $this->markTestSkipped();
        $this->assertFalse(isPangram('the quick brown fish jumps over the lazy dog'));
    }

    public function testPangramWithUnderscores()
    {
        $this->markTestSkipped();
        $this->assertTrue(isPangram('the_quick_brown_fox_jumps_over_the_lazy_dog'));
    }

    public function testPangramWithNumbers()
    {
        $this->markTestSkipped();
        $this->assertTrue(isPangram('the 1 quick brown fox jumps over the 2 lazy dogs'));
    }

    public function testMissingLettersReplacedByNumbers()
    {
        $this->markTestSkipped();
        $this->assertFalse(isPangram('7h3 qu1ck brown fox jumps ov3r 7h3 lazy dog'));
    }

    public function testPangramWithMixedCaseAndPunctuation()
    {
        $this->markTestSkipped();
        $this->assertTrue(isPangram('\Five quacking Zephyrs jolt my wax bed.\\'));
    }

    public function testPangramWithNonAsciiCharacters()
    {
        $this->markTestSkipped();
        $this->assertTrue(isPangram('Victor jagt zwölf Boxkämpfer quer über den großen Sylter Deich.'));
    }
}

Version data entries

96 entries across 96 versions & 1 rubygems

Version Path
trackler-2.0.6.0 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.18 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.17 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.16 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.15 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.14 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.13 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.12 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.11 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.10 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.9 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.8 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.7 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.6 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.5 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.4 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.3 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.2 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.1 tracks/php/exercises/pangram/pangram_test.php
trackler-2.0.5.0 tracks/php/exercises/pangram/pangram_test.php