Exemple #1
0
 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());
 }
Exemple #2
0
 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());
 }
Exemple #3
0
 public void TestJumpFailnull()
 {
     //Test Jumping
     EBot.Player player = new EBot.Player();
     Assert.IsFalse(player.Jump());
 }