DiamondFist implements RoboPainter { protected void roundOver() { if (_tcMode) { _out.println("TC score: " + (_gunDataManager.getDamageGiven() / (_robot.getRoundNum() + 1))); } GunEnemy duelEnemy = _gunDataManager.duelEnemy(); if (is1v1() && duelEnemy != null) { _virtualGuns.printGunRatings(duelEnemy.botName); } } DiamondFist(Diamond robot, boolean isTcMode);   DiamondFist(Diamond robot, boolean isTcMode, BattleField battleField,
      Collection<RoboGraphic> renderables, OutputStream out);   DiamondFist(Diamond robot, boolean isTcMode, BattleField battleField,
      MovementPredictor predictor, Collection<RoboGraphic> renderables,
      OutputStream out);   DiamondFist(Diamond robot, boolean isTcMode, GunDataManager gunDataManager,
      VirtualGunsManager<TimestampedFiringAngle> virtualGunsManager,
      BattleField battleField, Collection<RoboGraphic> renderables,
      OutputStream out); void initRound(Diamond robot); void execute(); void onScannedRobot(ScannedRobotEvent e); void onRobotDeath(RobotDeathEvent e); void onWin(WinEvent e); void onDeath(DeathEvent e); void onBulletHit(BulletHitEvent e); void onBulletHitBullet(BulletHitBulletEvent e); void onPaint(Graphics2D g); int getEnemiesAlive(); void addFireListener(FireListener listener); void paintOn(); void paintOff(); void robocodePaintOn(); void robocodePaintOff(); String paintLabel(); boolean paintStatus();  }
@Test public void testRoundOver() { DiamondFist gun = newGun(); gun.roundOver(); }
@Test public void testRoundOverTc() { DiamondFist gun = newGun(false, false, true); gun.roundOver(); assertTrue(_out.toString().contains("TC score")); }