Skip to content
Snippets Groups Projects
Commit 61e275ff authored by s2-peng's avatar s2-peng
Browse files

Upload New File

parent 17c88cc2
Branches
No related tags found
No related merge requests found
main.py 0 → 100644
import numpy as np
import sys
import morse
import unittest
if __name__ == "__main__":
e = morse.encode('us')
print('%s' % e)
d = morse.decode(e)
assert morse.encode('us') == '..- ...', "Should be ..-"
assert morse.decode('..- ...') == 'us', "Should be ..-"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment