Last active
January 13, 2018 15:26
-
-
Save reginaldojunior/9258b9fff95b54997b403fc458b72d1e to your computer and use it in GitHub Desktop.
test.php
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 | |
use Calc; | |
class TestCalc extends \PHPUnit_Framework_TestCase | |
{ | |
public function testSumTwoNumbers() | |
{ | |
$this->Calc = new Calc([5, 5)); | |
$this->assertEquals($this->Calc->getResult(), 10); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment