Completed
Pull Request — master (#2)
by Siwapun
13:33
created

DropLastTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testDropLast() 0 3 1
1
<?php
2
3
namespace Aerophant\RamdaTest;
4
5
use function Aerophant\Ramda\dropLast;
6
use PHPUnit\Framework\TestCase;
7
8
class DropLastTest extends TestCase
9
{
10
  public function testDropLast()
11
  {
12
    $this->assertEquals([1, 2, 3, 4], dropLast()([1, 2, 3, 4, 5]));
13
  }
14
}
15