public void FindLargestMatchByte1() { var A = new byte[] { 1, 0, 2, 2, 2 }; fixed (byte* _A = A) { Assert.AreEqual(1, PointerUtils.FindLargestMatchByte(_A, (byte)1, A.Length - 3)); } }