コード例 #1
0
        public void ValidHash()
        {
            var blockID  = new BlockID("foo");
            var actual   = blockID.Valid();
            var expected = true;

            Assert.Equal(expected, actual);
        }
コード例 #2
0
        public void InvalidHash()
        {
            var blockID  = new BlockID("");
            var actual   = blockID.Valid();
            var expected = false;

            Assert.Equal(expected, actual);
        }