Description
This is a follow-up task from PR #1 to add comprehensive unit tests for the utility functions introduced in simple_utils.py.
Background
The following functions were added without unit tests and require test coverage:
reverse_string(text): Function that reverses a string
count_words(sentence): Function that counts words in a sentence
celsius_to_fahrenheit(celsius): Function that converts Celsius to Fahrenheit
References
Acceptance Criteria
Description
This is a follow-up task from PR #1 to add comprehensive unit tests for the utility functions introduced in
simple_utils.py.Background
The following functions were added without unit tests and require test coverage:
reverse_string(text): Function that reverses a stringcount_words(sentence): Function that counts words in a sentencecelsius_to_fahrenheit(celsius): Function that converts Celsius to FahrenheitReferences
Acceptance Criteria
reverse_stringfunction with various test casescount_wordsfunction including edge casescelsius_to_fahrenheitfunction with various temperature values