예제 #1
0
        public void when_getting_the_dense_hash_exapmle()
        {
            var lengths   = new[] { 65, 27, 9, 1, 4, 3, 40, 50, 91, 7, 6, 0, 2, 5, 68, 22 };
            var denseHash = ClassUnderTest.DenseHash(lengths);

            Assert.AreEqual(new[] { 64, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }, denseHash);
        }