예제 #1
0
파일: C11Q03.cs 프로젝트: mumffy/CtciCsharp
 public void Tests(int[] input, int expected)
 {
     Assert.Equal(expected, Q03.FindSmallestInCyclicallySortedArray(input));
 }
예제 #2
0
파일: C11Q03.cs 프로젝트: mumffy/CtciCsharp
 public void Example()
 {
     int[] input = new int[] { 378, 478, 550, 631, 103, 203, 220, 234, 279, 369 };
     Assert.Equal(4, Q03.FindSmallestInCyclicallySortedArray(input));
 }