public void InputEntireWord_CheckArrays_ReturnTotalScore() { string userInput = "Supercalifragilisticexpialidocious"; Scrabble newScrabble = new Scrabble(userInput); int userOutput = newScrabble.Score(); Assert.Equal(56, userOutput); }
public void InputMultipleVowels_CheckArrays_ReturnTotalScore() { string userInput = "uae"; Scrabble newScrabble = new Scrabble(userInput); int userOutput = newScrabble.Score(); Assert.Equal(3, userOutput); }
public void InputMultipleLetters_CheckArrays_ReturnTotalScore() { string userInput = "d'oge"; Scrabble newScrabble = new Scrabble(userInput); int userOutput = newScrabble.Score(); Assert.Equal(6, userOutput); }
public void InputLetter_InputA_ReturnLetterValue() { string userInput = "u"; Scrabble newScrabble = new Scrabble(userInput); int userOutput = newScrabble.Score(); Assert.Equal(1, userOutput); }