A test framework is already created. You need to create a test for the UpdateDisplayWord function. Update the displayWord with any letter that matches the letter in the guessWord (this is how you play hangman) The function takes 3 inputs: letter - the current guess displayWord - the current progress (this is what is shown to the user playing a hangman game) guessWord - this is the hidden word the user is trying to guess
A unit test writing task for my computer science class. We are using a set of "best practices" we developed in class. 1. Function names begin with a capital letter and use "camel case" 2. Return values from a function begin with an _ followed by the function name. For example _FunctionName. 3. Test functions are named test_FunctionName and take no parameters