1 | <?php |
||
2 | namespace Aerophant\RamdaTest; |
||
3 | |||
4 | use function Aerophant\Ramda\inc; |
||
5 | use PHPUnit\Framework\TestCase; |
||
6 | |||
7 | class IncTest extends TestCase |
||
8 | { |
||
9 | public function testInc() |
||
10 | { |
||
11 | $value = 10; |
||
0 ignored issues
–
show
Unused Code
introduced
by
![]() |
|||
12 | $expect = 11; |
||
13 | $actual = inc()(10); |
||
14 | $this->assertEquals($expect, $actual); |
||
15 | } |
||
16 | } |
||
17 |