Пример #1
0
        public void TestGenomicRangeQuery()
        {
            string S = "CAGCCTA";

            int[] P        = new int[] { 2, 5, 0 };
            int[] Q        = new int[] { 4, 5, 6 };
            int[] expected = new int[] { 2, 4, 1 };
            int[] actual   = Lessons.GenomicRangeQuery(S, P, Q);

            Assert.AreEqual(expected, actual);
        }