public void TestPreviousGetId() { BlockBase b2 = new BlockBase(2); b2.SetPreviousBlock(b1); Assert.AreEqual(1, b2.GetPreviousBlock().GetId()); }