Esempio n. 1
0
        public void Unlucky1(int[] numbers, bool expected)
        {
            bool result = ArrayWarmups.Unlucky1(numbers);

            Assert.AreEqual(expected, result);
        }
Esempio n. 2
0
 public void Make2(int[] a, int[] b, int[] expected)
 {
     int[] result = ArrayWarmups.Make2(a, b);
     Assert.AreEqual(expected, result);
 }
Esempio n. 3
0
 public void KeepLast(int[] numbers, int[] expected)
 {
     int[] result = ArrayWarmups.KeepLast(numbers);
     Assert.AreEqual(expected, result);
 }
Esempio n. 4
0
        public void Double23(int[] numbers, bool expected)
        {
            bool result = ArrayWarmups.Double23(numbers);

            Assert.AreEqual(expected, result);
        }
Esempio n. 5
0
 public void GetMiddle1(int[] a, int[] b, int[] expected)
 {
     int[] result = ArrayWarmups.GetMiddle1(a, b);
     Assert.AreEqual(expected, result);
 }
Esempio n. 6
0
        public void HasEven(int[] numbers, bool expected)
        {
            bool result = ArrayWarmups.HasEven(numbers);

            Assert.AreEqual(expected, result);
        }
Esempio n. 7
0
 public void Reverse1(int[] a, int[] expected)
 {
     int[] result = ArrayWarmups.Reverse(a);
     Assert.AreEqual(expected, result);
 }
Esempio n. 8
0
 public void HigherWins(int[] numbers, int[] expected)
 {
     int[] result = ArrayWarmups.HigherWins(numbers);
     Assert.AreEqual(expected, result);
 }
Esempio n. 9
0
 public void RotateLeft(int[] numbers, int[] expected)
 {
     int[] result = ArrayWarmups.RotateLeft(numbers);
     Assert.AreEqual(expected, result);
 }
Esempio n. 10
0
        public void Sum(int[] numbers, int expected)
        {
            int result = ArrayWarmups.Sum(numbers);

            Assert.AreEqual(expected, result);
        }
Esempio n. 11
0
        public void CommonEnd(int[] a, int[] b, bool expected)
        {
            bool result = ArrayWarmups.CommonEnd(a, b);

            Assert.AreEqual(expected, result);
        }
Esempio n. 12
0
 public void MakePi(int n, int[] expected)
 {
     int[] result = ArrayWarmups.MakePi(n);
     Assert.AreEqual(expected, result);
 }
Esempio n. 13
0
 public void Validate_Fix23(int[] numbers, int[] expected)
 {
     int[] result = ArrayWarmups.Fix23(numbers);
     Assert.AreEqual(expected, result);
 }