bool Drone::operator==(const Drone & otroDrone) const { if (id() != otroDrone.id()) return false; if (bateria() != otroDrone.bateria()) return false; if (enVuelo() != otroDrone.enVuelo()) return false; if (vueloRealizado() != otroDrone.vueloRealizado()) return false; if (!mismosProductos(productosDisponibles(), otroDrone.productosDisponibles())) return false; if (!(posicionActual() == otroDrone.posicionActual())) return false; return true; }