예제 #1
0
        public void FirstBadVersionTest(int n, int expected)
        {
            var actual = new FirstBadVersionSolution(expected).FirstBadVersion(n);

            Assert.Equal(expected, actual);
        }
 public FirstBadVersionSolutionTest()
 {
     _solution = new FirstBadVersionSolution();
 }