Issues (11)

test/MinTest.php (2 issues)

1
<?php
2
3
namespace Aerophant\RamdaTest;
4
5
use function Aerophant\Ramda\min;
6
use PHPUnit\Framework\TestCase;
7
8
class MinTest extends TestCase
9
{
10
  public function testMin()
11
  {
12
    $firstValue = 9;
0 ignored issues
show
The assignment to $firstValue is dead and can be removed.
Loading history...
13
    $secondValue = 3;
0 ignored issues
show
The assignment to $secondValue is dead and can be removed.
Loading history...
14
    $expect = 3;
15
    $actual = min(9)(3);
16
    $this->assertEquals($expect, $actual);
17
  }
18
}
19