Just a commit

This commit is contained in:
2016-08-15 14:08:39 -05:00
parent 0ef5df860d
commit ec4ec16ac2
50 changed files with 1972 additions and 7 deletions

View File

@@ -0,0 +1,21 @@
<?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'));
}
}