public void TotalForBusyWeek() { var counts = new int[] { 5, 9, 12, 6, 8, 8, 17 }; var birdCount = new BirdCount(counts); Assert.Equal(65, birdCount.Total()); }
public void TotalForDisappointingWeek() { var counts = new int[] { 0, 0, 1, 0, 0, 1, 0 }; var birdCount = new BirdCount(counts); Assert.Equal(2, birdCount.Total()); }