Created
May 25, 2017 15:41
-
-
Save NandoKstroNet/d04f5153bc9ba7ac2d43be18cb4173d4 to your computer and use it in GitHub Desktop.
Arquivo criado no post Silex e Testes da Code Experts Learning
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace App; | |
class SomaTest extends \PHPUnit_Framework_TestCase | |
{ | |
public function testSeASomaFuncionaCorretamente() | |
{ | |
$soma = new Soma(); | |
$result = $soma->fazSoma(15, 15); | |
return $this->assertEquals(30, $result); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment