Ejemplo n.º 1
0
        public void Test1B()
        {
            int len = 256;

            int[] input = new int[] { 97, 167, 54, 178, 2, 11, 209, 174, 119, 248, 254, 0, 255, 1, 64, 190 };;
            Assert.AreEqual(8536, Dec10.KnotHashCheck(len, input));
        }
Ejemplo n.º 2
0
        public void Test1A()
        {
            int len = 5;

            int[] input = new int[] { 3, 4, 1, 5 };
            Assert.AreEqual(12, Dec10.KnotHashCheck(len, input));
        }