Exemplo n.º 1
0
 def test_convert_strikethrough(self) -> None:
     self.assertEqual(convert_markdown("~test message~"),
                      "~~test message~~")
Exemplo n.º 2
0
 def test_convert_italics(self) -> None:
     self.assertEqual(convert_markdown("_test message_"), "*test message*")
     self.assertEqual(convert_markdown("_  spaced message _"),
                      "  *spaced message* ")
Exemplo n.º 3
0
 def test_convert_bold(self) -> None:
     self.assertEqual(convert_markdown("*test message*"),
                      "**test message**")
Exemplo n.º 4
0
 def test_convert_strikethrough(self) -> None:
     self.assertEqual(convert_markdown("~test message~"), "~~test message~~")
Exemplo n.º 5
0
 def test_convert_italics(self) -> None:
     self.assertEqual(convert_markdown("_test message_"), "*test message*")
     self.assertEqual(convert_markdown("_  spaced message _"), "  *spaced message* ")
Exemplo n.º 6
0
 def test_convert_bold(self) -> None:
     self.assertEqual(convert_markdown("*test message*"), "**test message**")