public void Test2() { long expected = 10; long actual = The_Supermarket_Queue.QueueTime(new int[] { 1, 2, 3, 4 }, 1); Assert.Equal(expected, actual); }
public void Example2() { long expected = 10; long actual = The_Supermarket_Queue.QueueTime(new int[] { 10, 2, 3, 3 }, 2); Assert.Equal(actual, expected); }
public void Example1() { long expected = 12; long actual = The_Supermarket_Queue.QueueTime(new int[] { 5, 3, 4 }, 1); Assert.Equal(expected, actual); }
public void Test3() { long expected = 9; long actual = The_Supermarket_Queue.QueueTime(new int[] { 2, 2, 3, 3, 4, 4 }, 2); Assert.Equal(expected, actual); }
public void Example3() { long expected = 12; long actual = The_Supermarket_Queue.QueueTime(new int[] { 2, 3, 10 }, 2); }