예제 #1
0
        public void ExampleTest4()
        {
            long expected = 5;

            long actual = MarketQueue.QueueTime(new int[] { 1, 2, 3, 4, 5 }, 100);

            Assert.AreEqual(expected, actual);
        }
예제 #2
0
        public void ExampleTest1()
        {
            long expected = 0;

            long actual = MarketQueue.QueueTime(new int[] { }, 1);

            Assert.AreEqual(expected, actual);
        }
예제 #3
0
        public void ExampleTest3()
        {
            long expected = 9;

            long actual = MarketQueue.QueueTime(new int[] { 2, 2, 3, 3, 4, 4 }, 2);

            Assert.AreEqual(expected, actual);
        }