Ejemplo n.º 1
0
        public void Test_the_properties_of_the_genesis_block()
        {
            var genesisBlock = _blockFactory.GenerateGenesisBlock();

            Assert.That(genesisBlock.Index, Is.EqualTo(0));
            Assert.That(genesisBlock.PreviousHash, Is.EqualTo(string.Empty));
            Assert.That(genesisBlock.Data, Is.EqualTo("Genesis"));
        }