Sha256: 5da8b2d355ae00f12ff61a45761634c766dd845cbf177bfe75d717ad3cfadf6c

Contents?: true

Size: 438 Bytes

Versions: 96

Compression:

Stored size: 438 Bytes

Contents

<?php

require "hello-world.php";

class HelloWorldTest extends \PHPUnit_Framework_TestCase
{
    public function testNoName()
    {
        $this->assertEquals('Hello, World!', helloWorld());
    }

    public function testSampleName()
    {
        $this->assertEquals('Hello, Alice!', helloWorld('Alice'));
    }

    public function testAnotherSampleName()
    {
        $this->assertEquals('Hello, Bob!', helloWorld('Bob'));
    }
}

Version data entries

96 entries across 96 versions & 1 rubygems

Version Path
trackler-2.0.6.40 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.39 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.38 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.37 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.36 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.35 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.34 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.33 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.32 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.31 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.30 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.29 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.28 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.27 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.26 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.25 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.24 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.23 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.22 tracks/php/exercises/hello-world/hello-world_test.php
trackler-2.0.6.21 tracks/php/exercises/hello-world/hello-world_test.php