Goal: Build out the
text-analyzer business logic, making sure to practice TDD.
At this point, you should've followed along with the lessons to build the business logic for the Text Analyzer application. Complete the prompt below that extends the Text Analyzer business logic.
Write a function that omits offensive words from a text passage. For the purpose of this application, there are only four offensive words to worry about: zoinks, muppeteer, biffaroni, and loopdaloop. These words make the investors behind Text Analyzer fly into a rage. We recommend not using real offensive words because they are, well, offensive! Use TDD to build your function.
Lesson 27 of 50
Last updated July 14, 2022