Skip to content
Snippets Groups Projects
Commit ce1f4a58 authored by William Bell's avatar William Bell
Browse files

Adding a test

parent 7ffb4b25
No related branches found
No related tags found
No related merge requests found
import unittest
import transcripts
class TestTranscripts(unittest.TestCase):
def test_txt_to_tex(self):
text = "A\\${}_#"
tex = transcripts.txt_to_tex(text)
self.assertEqual(tex, "A\\textbackslash\\$\\{\\}\\_\\#")
if __name__ == "__main__":
unittest.main()
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment