MaxTest   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
dl 0
loc 9
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A testMax() 0 7 1
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