public function test_it_clears_canvas() { $canvas = new Canvas(3, 2); $canvas->markPoint(2, 2); $canvas->clear(); $canvasContent = $canvas->getContent(); $this->assertEquals(Canvas::POINT_EMPTY, $canvasContent[2][2]); }
private function clearCanvas() { $this->canvas->clear(); }