public void HashWithNamespace() { var node = new MerkleNode("/ipfs/" + IpfsInfo); Assert.AreEqual(IpfsInfo, (string)node.Id); }
public void Stringify() { var node = new MerkleNode(IpfsInfo); Assert.AreEqual("/ipfs/" + IpfsInfo, node.ToString()); }
/// <inheritdoc /> public bool Equals(MerkleNode that) { return(that != null && this.Id == that.Id); }