assertEquals($this->getHtml(), $parser->transform($this->getText())); } public function testMedium() { $parser = new Preset\Medium(); $this->assertEquals($this->getHtml(), $parser->transform($this->getText())); } // public function testMin() // { // $parser = new Preset\Min(); // // $this->assertEquals($this->getHtml(), $parser->transform($this->getText())); // } // public function testLight() // { // $parser = new Preset\Light(); // // $this->assertEquals($this->getHtml(), $parser->transform($this->getText())); // } protected function getText() { return file_get_contents(__DIR__.'/fixtures/big_text.markdown'); } protected function getHtml() { return file_get_contents(__DIR__.'/fixtures/big_text.html'); } }