Skip to content

Conversation

@tomashynekdusek
Copy link

Morseovka

Comment on lines +104 to +112
def test_main():
"""Definition of main."""
message = "TEST PROBEHL USPESNE"
result = encrypt(message.upper())
print(result)

message = "- . ... - ..- ... .--. . ... -. ."
result = decrypt(message)
print(result)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Namísto funkce test_main vytvořit 2 funkce test_encrypt a test_decrypt kde budou použity direktivy assert.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Posílám opravu.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants