A test framework is already created. Create tests for the UpdateDisplayWord function. The first test is already written. Identify and implement additional tests. Examples: Create a test that updates a displayWord that already has some values identified. guessWord = "friend" displayWord = fr??n? guessLetter = "e" Create a test that replaces multiple letters guessWord = "test" guessLetter = "t" displayWord = "??s?" Create a test that tries to update with a guessLetter that is not in the guessWord guessWord = "hello" guessLetter = "d" displayWord = ""?e???" Can you identify any additional useful tests?
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