public void Today_for_busy_day() { var counts = new int[] { 8, 8, 9, 5, 4, 7, 10 }; var birdCount = new BirdCount(counts); Assert.Equal(10, birdCount.Today()); }
public void Today_for_disappointing_day() { var counts = new int[] { 0, 0, 1, 0, 0, 1, 0 }; var birdCount = new BirdCount(counts); Assert.Equal(0, birdCount.Today()); }
public void Increment_todays_count_with_multiple_previous_visits() { var counts = new int[] { 8, 8, 9, 2, 1, 6, 4 }; var birdCount = new BirdCount(counts); birdCount.IncrementTodaysCount(); Assert.Equal(5, birdCount.Today()); }
public void Increment_todays_count_with_no_previous_visits() { var counts = new int[] { 0, 0, 0, 4, 2, 3, 0 }; var birdCount = new BirdCount(counts); birdCount.IncrementTodaysCount(); Assert.Equal(1, birdCount.Today()); }