コード例 #1
0
        public void TestMinAvgTwoSlice()
        {
            int[] A        = new int[] { 4, 2, 2, 5, 1, 5, 8 };
            int   expected = 1;
            int   actual   = Lessons.MinAvgTwoSlice(A);

            Assert.AreEqual(expected, actual);
        }