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)); }
public void Test1A() { int len = 5; int[] input = new int[] { 3, 4, 1, 5 }; Assert.AreEqual(12, Dec10.KnotHashCheck(len, input)); }