Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | public function testUpdateQuality(): void |
||
13 | { |
||
14 | $input = [ |
||
15 | new Item('foo', 0, 1), |
||
16 | new Item('bar', 1, 1), |
||
17 | new Item('zero', 1, 0), |
||
18 | new Item('zorg', 1, 100), |
||
19 | new Item('zorg', 1, 50), |
||
20 | new Item('knarf', 1, 50), |
||
21 | ]; |
||
22 | |||
23 | $actual = (new GildedRose())->updateQuality($input); |
||
24 | |||
25 | Approvals::create()->verifyList($input, $actual); |
||
26 | } |
||
28 |