Beispiel #1
0
        public Tests()
        {
            int[]     sequence  = new int[] { 6, 9, 15, -2, 92, 11 };
            CalcStats calcStats = new CalcStats();

            stats = calcStats.CalculateStats(sequence);
        }
Beispiel #2
0
        public void CalculateStats_ShouldSetMinimumValue(int[] numbers, int expectedResult)
        {
            calcStats.CalculateStats(numbers);

            calcStats.MinimumValue.Should().Be(expectedResult);
        }