public void TestIfStartScreenSetChoiseIsExecutedWithD3Key()
        {
            StartScreen startscreen = StartScreen.Instance;

            startscreen.SetChoise(ConsoleKey.D3);

            Assert.AreEqual(true, true, "StartScreen.SetChoise() didn't execute with D3 key passed");
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the Engine class.
 /// </summary>
 public Engine()
 {
     StartMenu.SetChoise(ConsoleKey.Enter);
     this.HandleUserChoise();
 }