1 | <?php |
||
10 | class TemperatureTest extends TestCase |
||
11 | { |
||
12 | /** |
||
13 | * @covers ::__construct |
||
14 | */ |
||
15 | public function testTemperatureCreation() |
||
24 | |||
25 | /** |
||
26 | * @covers ::getValue |
||
27 | */ |
||
28 | public function testGetValue() |
||
34 | |||
35 | /** |
||
36 | * @covers ::getUnit |
||
37 | */ |
||
38 | public function testgetUnit() |
||
44 | |||
45 | /** |
||
46 | * @covers ::getUnit |
||
47 | */ |
||
48 | public function testgetUnitFahrenheit() |
||
54 | |||
55 | /** |
||
56 | * @covers ::getUnit |
||
57 | */ |
||
58 | public function testgetUnitCelsius() |
||
64 | |||
65 | /** |
||
66 | * @covers ::getDescription |
||
67 | */ |
||
68 | public function testGetDecription() |
||
74 | |||
75 | /** |
||
76 | * @covers ::getFormatted |
||
77 | */ |
||
78 | public function testGetFormattedWithUnit() |
||
84 | |||
85 | /** |
||
86 | * @covers ::getFormatted |
||
87 | */ |
||
88 | public function testGetFormattedWithoutUnit() |
||
94 | |||
95 | /** |
||
96 | * @covers ::__toString |
||
97 | */ |
||
98 | public function testToString() |
||
104 | } |
||
105 |