public void CFind_p_m_In_hvad_op_mine_hjemmedrenge()
        {
            var haystack = ByteMethods.StringToByteArray("hvad op mine hjemmedrenge?");
            var needle   = ByteMethods.StringToByteArray("p manden?");
            var expected = new MatchPointer(6, 3);

            MatchPointer?actual = CFindMatchingBytes.FindLongestMatch(
                new ByteArrayIndexer(haystack, 0, haystack.Length),
                new ByteArrayIndexer(needle, 0, needle.Length));

            Assert.AreEqual(expected, actual);
        }
        public void CFind_fl_in_femFlade_FromLongNeedle()
        {
            var haystack = ByteMethods.StringToByteArray("fem flade");
            var needle   = ByteMethods.StringToByteArray(" flødeboller på");
            var expected = new MatchPointer(3, 3);

            MatchPointer?actual = CFindMatchingBytes.FindLongestMatch(
                new ByteArrayIndexer(haystack, 0, haystack.Length),
                new ByteArrayIndexer(needle, 0, needle.Length));

            Assert.AreEqual(expected, actual);
        }