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

WindTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 3

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 3
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Method

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