Métodos usados con frecuencia
Métodos usados con frecuencia
Métodos usados con frecuencia
Related in langs
Métodos usados con frecuencia
public void DisplayGameKeys_CompareWithConsoleOuput_Equal() { // Part of this code is inspired by code found in 2DV610 slack channel. using (StringWriter sw = new StringWriter()) { Console.SetOut(sw); sut.DisplayGameKeys(); string expected = string.Format("\n Roll = [1], Save dice(s) = [2], New game = [3], Quit game = [4].\n"); Assert.Equal(expected, sw.ToString()); } }