Esempio n. 1
0
 public void TestInit()
 {
     EBot.Player player = new EBot.Player();
     Assert.AreEqual(player.START_MONEY, player.GetMoney());
     Assert.AreEqual("100.100.100.1", player.GetIP());
     Assert.AreEqual(1, player.GetLastConnection());
 }
Esempio n. 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());
 }