public void TestShaDiff() { var hashCash2 = new HashCash(hashCash.dt, hashCash.resource + 1, hashCash.salt, hashCash.counter); Assert.That(hashCash2.Hash(), Is.Not.EqualTo(hashCash.Hash())); }
public void TestShaMatch() { HashCash hashCash2 = hashCash; Assert.That(hashCash2.Hash(), Is.EqualTo(hashCash.Hash())); }