Completed
Push — master ( f352a0...b6a995 )
by Bryan
03:47
created

WindTest::testWindCreation()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
namespace Bhhaskin\WeatherBee\Test;
3
4
use PHPUnit\Framework\TestCase;
5
use Bhhaskin\WeatherBee\Util\{Wind, Unit};
6
7
/**
8
 * @coversDefaultClass Bhhaskin\WeatherBee\Util\Wind
9
 */
10
class WindTest extends TestCase
11
{
12
    /**
13
     * @covers ::__construct
14
     */
15
    public function testWindCreation()
16
    {
17
        $unit = new Unit(0.0);
18
        $this->assertInstanceOf(Wind::class, new Wind($unit, "foo"));
19
    }
20
}
21