public void Should_ReturnFalse_When_Kick(int x, int y, Explosive.KickDirection dir) { //Arrange GameArena arena = new GameArena(0); Explosive bomb = new Explosive(x, y); // Act arena.gameObjects.Add(bomb); //Assert Assert.IsFalse(arena.KickBomb(bomb.GetCords(), dir)); }
public void Should_ReturnTrue_When_Kick(Explosive.KickDirection dir) { //Arrange GameArena arena = new GameArena(0); Explosive bomb = new Explosive(1, 1); // Act arena.gameObjects.Add(bomb); //Assert Assert.IsTrue(arena.KickBomb(bomb.GetCords(), dir)); }