menu_book Course Curriculum (Software Testing) expand_more
Testing Fundamentals
Assertions & Fixtures
Test Doubles & Dependencies
Coverage & Quality
API & Web Testing
equality assertion
Learn equality assertion in Software Testing with a dedicated explanation, a concept-specific example, practical cautions, and a mastery check.
12 min read
•
Beginner
software-testing-009.py
python
def normalize(name): return name.strip().title()
def test_normalize(): assert normalize(' aLICE ') == 'Alice'
What to watch
Content source & attribution
Original Syntaxis Content · Original Syntaxis Content