Ejemplo n.º 1
0
        public void ToFixedBytes()
        {
            var bytes       = Enumerable.Range(0, 7).Select(i => (byte)i).ToArray();
            var fingerprint = new Fingerprint(bytes);
            var exported    = fingerprint.ToFixedBytes();

            Assert.Equal(new FixedBytes(bytes), exported);
        }