Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
class CalculatorTest extends TestCase
/** @test */
public function it_adds_two_numbers()
$calculator = new Calculator();
$total = $calculator->sum(1, 2);
$this->assertSame(3, $total);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.