Example #1
0
 public void TestConnectPass()
 {
     EBot.Player player = new EBot.Player();
     EBot.Machine selectedMachine = CreateMachine(true);
     player.Select(selectedMachine);
     player.Connect();
 }
Example #2
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());
 }
Example #3
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());
 }