public void ShowResultTest() { GameView target = new GameView(); // TODO: Initialize to an appropriate value Symbol coin = Symbol.Cross; // TODO: Initialize to an appropriate value target.ShowResult(coin); //Assert.Inconclusive("A method that does not return a value cannot be verified."); }
/// <summary> /// Default Constructor for GameManager Class /// </summary> public GameManager() { InitializeComponent(); GmBoard = Board.createInstance(BoardSize); Logic = new ComputerMoveHandler(GmBoard, CoinCount); GView = new GameView(); }
public void ShowInstructionTest() { GameView target = new GameView(); // TODO: Initialize to an appropriate value Label expected = new Label(); ; expected.Text= "1. Your Symbol is " + "O." + "\r\n" + "2. Computer's Symbol is " + "X." + "\r\n" + "3. Place your symbol during your turn." + "\r\n" + "4. You win by placing five of your coins either horizontally, vertically" + "\r\n" + " or diagonally." + "\r\n"+ "5. Enjoy the game!!"; // TODO: Initialize to an appropriate value Label actual; actual = target.ShowInstruction(); Assert.AreEqual(expected.Text, actual.Text); //Assert.Inconclusive("Verify the correctness of this test method."); }
public void GameViewConstructorTest() { GameView target = new GameView(); //Assert.Inconclusive("TODO: Implement code to verify target"); }