Exemplo n.º 1
0
        public void TestMinerMineDate()
        {
            mb.SetDifficulty(2);

            Assert.IsFalse(b1.IsSigned());

            mb.Mine(b1);
            Assert.AreNotEqual("1/1/0001 12:00:00 AM", b1.GetMinedDate().ToString());
            Assert.IsTrue(b1.IsSigned());
        }