public Tests() { int[] sequence = new int[] { 6, 9, 15, -2, 92, 11 }; CalcStats calcStats = new CalcStats(); stats = calcStats.CalculateStats(sequence); }
public void CalculateStats_ShouldSetMinimumValue(int[] numbers, int expectedResult) { calcStats.CalculateStats(numbers); calcStats.MinimumValue.Should().Be(expectedResult); }