public void SolvePuzzleActionExecuteIncorrectSolutionTest() { Puzzle currentPuzzle = new Puzzle("WATERMELON"); SolvePuzzleAction spa = new SolvePuzzleAction(); spa.PuzzleGuess = "WATERBERRY"; Assert.IsFalse(spa.Execute(currentPuzzle)); }
public void SolvePuzzleActionConstructorTest() { SolvePuzzleAction spa = new SolvePuzzleAction(); Assert.IsTrue(String.IsNullOrEmpty(spa.PuzzleGuess)); }