Debugging and test suites of FullState and DiffState
Digest checking is still missing from unit tests
diff --git a/model/sync-name-info.h b/model/sync-name-info.h
index bc04c33..ebe946b 100644
--- a/model/sync-name-info.h
+++ b/model/sync-name-info.h
@@ -47,11 +47,22 @@
*/
size_t
getHashId () const { return m_id; }
-
+
+ /**
+ * @brief Check if two names are equal
+ * @param info name to check with
+ */
virtual bool
operator == (const NameInfo &info) const = 0;
/**
+ * @brief Check if two names are in order
+ * @param info name to check with
+ */
+ virtual bool
+ operator < (const NameInfo &info) const = 0;
+
+ /**
* @brief Calculates digest of the name
*/
const Digest &