Skip to content

Commit

Permalink
challenge_39
Browse files Browse the repository at this point in the history
  • Loading branch information
Mr-Glucose committed Jan 10, 2025
1 parent c471ebb commit 93baefd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@

import unittest

from solutions.challenge_39.word import word_lengths
from solutions.challenge_39.word_length_counter import word_lengths


class TestWordLengths(unittest.TestCase):
def test_regular_sentences(self):
def test_multiple_words(self):
self.assertEqual(word_lengths("Hello world!"), [5, 5])
self.assertEqual(word_lengths("Python is awesome."), [6, 2, 7])

Expand Down

0 comments on commit 93baefd

Please sign in to comment.