Beispiel #1
0
 public void should_get_all_smallest_difference_team()
 {
     Assert.Equal(2, GetSmallestDiff.GetSmallest(_scoreData).Count);
     Assert.Contains("Ipswich", GetSmallestDiff.GetSmallest(_scoreData));
     Assert.Contains("Derby", GetSmallestDiff.GetSmallest(_scoreData));
 }
Beispiel #2
0
 public void should_get_all_smallest_temperature_spread_day_number()
 {
     Assert.Equal(2, GetSmallestDiff.GetSmallest(_weatherData).Count);
     Assert.Contains(25.ToString(), GetSmallestDiff.GetSmallest(_weatherData));
     Assert.Contains(28.ToString(), GetSmallestDiff.GetSmallest(_weatherData));
 }