public void TestJumpPass() { //Test Jumping EBot.Player player = new EBot.Player(); EBot.Machine selectedMachine = CreateMachine(true); player.Select(selectedMachine); Assert.IsTrue(player.Jump()); Assert.AreEqual(selectedMachine.GetIp(), player.GetIP()); }
public void TestJumpFailNotHacked() { //Test Jumping EBot.Player player = new EBot.Player(); //int Id, string Ip, bool Connected, string Name, bool Hacked EBot.Machine SelectedMachine = CreateMachine(); player.Select(SelectedMachine); Assert.IsFalse(player.Jump()); }
public void TestJumpFailnull() { //Test Jumping EBot.Player player = new EBot.Player(); Assert.IsFalse(player.Jump()); }