Completed
Push — master ( aa2bdb...60f847 )
by Shcherbak
01:30
created

PredefinedFloatListTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 12
c 0
b 0
f 0
wmc 1
lcom 0
cbo 2
ccs 6
cts 6
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testAll() 0 9 1
1
<?php
2
3
namespace Funivan\CabbageCore\Float\FloatList;
4
5
use PHPUnit\Framework\TestCase;
6
7
class PredefinedFloatListTest extends TestCase
8
{
9 1
    public function testAll()
10
    {
11 1
        self::assertSame(
12 1
            [1.1, 0.0],
13 1
            \iterator_to_array(
14 1
                (new PredefinedFloatList(1.1, 0.0))->all()
15
            )
16
        );
17 1
    }
18
}
19