Skip to content

Instantly share code, notes, and snippets.

@amochohan
Created March 16, 2018 16:35
Show Gist options
  • Save amochohan/82ab4c81c5628b7fa0025fba0759b2c1 to your computer and use it in GitHub Desktop.
Save amochohan/82ab4c81c5628b7fa0025fba0759b2c1 to your computer and use it in GitHub Desktop.
<?php
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