sim: Derive PartialEq and Eq for UpgradeInfo

This will allow comparisons of the upgrade info.

Signed-off-by: David Brown <david.brown@linaro.org>
Signed-off-by: Fabio Utzig <utzig@apache.org>
diff --git a/sim/src/depends.rs b/sim/src/depends.rs
index c0d5529..d1ea8a1 100644
--- a/sim/src/depends.rs
+++ b/sim/src/depends.rs
@@ -60,7 +60,7 @@
 }
 
 /// Describes what our expectation is for an upgrade.
-#[derive(Clone, Debug)]
+#[derive(Clone, Debug, PartialEq, Eq)]
 pub enum UpgradeInfo {
     /// The current version should be held.
     Held,