public void GrayCodeTest_Zero()
        {
            var solution = new _089_GrayCode();

            AssertHelper.AssertList(new int[] { 0 }, solution.GrayCode(0));
        }
Beispiel #2
0
 public void DailyTemperatures_1()
 {
     var solution = new _0739_DailyTemperatures();
     var result = solution.DailyTemperatures(new int[] { 73, 74, 75, 71, 69, 72, 76, 73 });
     AssertHelper.AssertArray(new int[] { 1, 1, 4, 2, 1, 1, 0, 0 }, result);
 }