assertEquals('#', $componentName); } public function test_h1() { $doku_text = '====== Heading 1 ======'.DOKU_LF."Content"; $markdown_text = '# Heading 1'.DOKU_LF."Content"; $info = array(); $instructionsDoku = p_get_instructions($doku_text); $instructionsMark = p_get_instructions($markdown_text); $dokuXhtml = p_render('xhtml', $instructionsDoku, $info); $markXhtml = p_render('xhtml', $instructionsMark, $info); $this->assertEquals($dokuXhtml, $markXhtml); } public function test_h5() { $doku_text = '== Heading 5 =='.DOKU_LF."Content"; $markdown_text = '##### Heading 5'.DOKU_LF."Content"; $info = array(); $instructionsDoku = p_get_instructions($doku_text); $instructionsMark = p_get_instructions($markdown_text); $dokuXhtml = p_render('xhtml', $instructionsDoku, $info); $markXhtml = p_render('xhtml', $instructionsMark, $info); $this->assertEquals($dokuXhtml, $markXhtml); } }