Esempio n. 1
0
 static void breakingRecords()
 {
     int[] scores = new int[] { 10, 5, 20, 20, 4, 5, 2, 25, 1 };
     int[] result = BreakingRecords.breakingRecords(scores);
     Console.WriteLine("Breaking Records");
     Console.WriteLine(result[0] + " " + result[1]);
 }
Esempio n. 2
0
        public void FindMaxMin_ShouldReturn_MaxMin(int[] scrores, int[] expected)
        {
            //Act
            var actual = BreakingRecords.FindMaxMin(scrores);

            //Assert
            Assert.Equal(expected, actual);
        }