| Total Complexity | 2 |
| Total Lines | 24 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class CardGraphicTest extends TestCase |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * Construct object and verify that the object has the expected |
||
| 14 | * properties. |
||
| 15 | */ |
||
| 16 | public function testCreateCardGraphic() |
||
| 17 | { |
||
| 18 | $cardGraphic = new CardGraphic('Hearts', 'King'); |
||
| 19 | $this->assertInstanceOf(CardGraphic::class, $cardGraphic); |
||
| 20 | $this->assertEquals('Hearts', $cardGraphic->getSuit()); |
||
| 21 | $this->assertEquals('King', $cardGraphic->getValue()); |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Test getAsString. |
||
| 26 | */ |
||
| 27 | public function testGetAsString() |
||
| 34 | } |
||
| 35 | } |
||
| 36 |