public void Should_Return_An_Age_Avarage() { //Given var exercises4 = new Exercise4(); //When var result = exercises4.AgeAverage(12, 17, 15, 16, 14, 18, 0); //Then Assert.Equal(13, result); }
public void Should_Return_A_Sum_Of_Elements_What_Are_Odds(double[] numbers, double expectedResult) { //Given var exercise4 = new Exercise4(); //When var result = exercise4.SumBetweenAAndBArray(numbers); //Then Assert.Equal(expectedResult, result); }