SHARE
TWEET

Untitled

a guest Feb 28th, 2020 82 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     @Test
  2.     public void robotTakesDamageTest(){
  3.         Robot robot = new Robot(0, 0);
  4.         int oldHP = robot.getCurrentHP();
  5.         robot.takeDamage(2);
  6.         int newHP = robot.getCurrentHP();
  7.         assertTrue(oldHP > newHP);
  8.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top