public void shoot_startTest() { Gun_Project_Master1.shoot_start obj = new Gun_Project_Master1.shoot_start(); PlayGame playGame = new PlayGame(); playGame.Execute_option1(obj.start_Game); int x = 1; if (x == playGame.y) { Assert.IsTrue(true); } else { Assert.IsTrue(true); } }
public void TestMethod1() { Gun_Project_Master1.shoot_start obj = new Gun_Project_Master1.shoot_start(); PlayGame playGame = new PlayGame(); playGame.Execute_option3(obj.spin_game); int x = 3; if (x > playGame.y) { MessageBox.Show("Matched"); Assert.IsTrue(true); } else { MessageBox.Show("Not Matched"); Assert.IsTrue(true); } }