示例#1
0
        public void Test()
        {
            bool result = new Q941().ValidMountainArray(new[] { 2, 1 });

            Assert.AreEqual(false, result);
        }
示例#2
0
        public void Test3()
        {
            bool result = new Q941().ValidMountainArray(new[] { 0, 3, 2, 1 });

            Assert.AreEqual(true, result);
        }