You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
329 B
20 lines
329 B
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: delmadord
|
|
* Date: 3/16/16
|
|
* Time: 2:42 PM
|
|
*/
|
|
|
|
namespace Coffee;
|
|
|
|
class SpotTest extends \PHPUnit_Framework_TestCase {
|
|
|
|
public function testGetTiles() {
|
|
$tile = new Tile(1, 2);
|
|
$spot = new Spot();
|
|
$spot->addTile($tile);
|
|
|
|
$this->assertEquals([$tile], $spot->getTiles());
|
|
}
|
|
}
|
|
|