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

PredefinedFloatListTest::testAll()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 9
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 6
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 9
c 0
b 0
f 0
ccs 6
cts 6
cp 1
rs 9.6666
cc 1
eloc 5
nc 1
nop 0
crap 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