Skip to content

test framework and ref solution for codewars morse code katas 1 & 2

Notifications You must be signed in to change notification settings

KenzieAcademy/backend-morsecode-assessment

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Morse Code decoder

This is a test framework (and solution) for working on the Morse Code katas 1 and 2 from Codewars: https://www.codewars.com/kata/decode-the-morse-code-advanced/python

The tests are broken into two classes:

  • TestMorseA
  • TestMorseB

The TestMorseA class will only test the decodeMorse() function. To run all of the cases defined in TestMorseA, use the following cmd line:

$ python -m unittest test_morse.TestMorseA

The TestMorseB class will test both the decodeMorse() function as well as the decodeBits() function.

$ python -m unittest test_morse.TestMorseB

If you want to run all tests combined, try this:

$ python -m unittest discover

About

test framework and ref solution for codewars morse code katas 1 & 2

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages