Conditions | 1 |
Paths | 1 |
Total Lines | 17 |
Code Lines | 13 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
14 | public function testInterface() |
||
15 | { |
||
16 | $memory = new Memory( |
||
17 | $total = new Bytes(42), |
||
18 | $wired = new Bytes(42), |
||
19 | $active = new Bytes(42), |
||
20 | $free = new Bytes(42), |
||
21 | $swap = new Bytes(42), |
||
22 | $used = new Bytes(42) |
||
23 | ); |
||
24 | |||
25 | $this->assertSame($total, $memory->total()); |
||
26 | $this->assertSame($wired, $memory->wired()); |
||
27 | $this->assertSame($active, $memory->active()); |
||
28 | $this->assertSame($free, $memory->free()); |
||
29 | $this->assertSame($swap, $memory->swap()); |
||
30 | $this->assertSame($used, $memory->used()); |
||
31 | } |
||
33 |