Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
12 | public function testCellFormatting() |
||
13 | { |
||
14 | $cell = new Cell('1', new NumberFormatter()); |
||
15 | $this->assertSame(1, $cell->getValue()); |
||
16 | $this->assertSame('1', $cell->getRawValue()); |
||
17 | |||
18 | $cell = new Cell('true', new BooleanFormatter()); |
||
19 | $this->assertTrue($cell->getValue()); |
||
20 | $this->assertSame('true', $cell->getRawValue()); |
||
21 | } |
||
22 | } |
||
23 |