Completed
Push — master ( 064eaa...847d00 )
by Siwapun
06:40 queued 04:59
created

MaxTest::testMax()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Aerophant\RamdaTest;
4
5
use PHPUnit\Framework\TestCase;
6
use function Aerophant\Ramda\max;
7
8
class MaxTest extends TestCase
9
{
10
  public function testMax()
11
  {
12
    $firstValue = 100;
13
    $secondValue = 200;
14
    $expect = 200;
15
    $actual = max($firstValue)($secondValue);
16
    $this->assertEquals($expect, $actual);
17
  }
18
}
19