public void NodesNotEqualTest() { MerkleNode parentNode1 = CreateParentNode("abc", "def"); MerkleNode parentNode2 = CreateParentNode("def", "abc"); Assert.False(parentNode1.Equals(parentNode2)); }
public void NodesNotEqualTest() { MerkleNode parentNode1 = CreateParentNode("abc", "def"); MerkleNode parentNode2 = CreateParentNode("def", "abc"); (parentNode1.Equals(parentNode2)).Should().BeFalse(); }
public void NodesEqualTest() { MerkleNode parentNode1 = CreateParentNode("abc", "def"); MerkleNode parentNode2 = CreateParentNode("abc", "def"); Assert.IsTrue(parentNode1.Equals(parentNode2)); }