public void GetActiveBoxScores_Count_Equals_Zero() { var client = new FantasyDataClient(); var results = client.BoxScoreService.GetActive(); Debug.WriteLine(results.ToList().Count); Assert.IsTrue(results.Count == 0); }
public void DailyFantasyPlayers_2014_SEP_21_Count_Equals_514() { var client = new FantasyDataClient(); var results = client.DailyFantasyService.GetDailyFantasyPlayers(new DateTime(2014, 9, 21)); Debug.WriteLine(results.ToList().Count); Assert.IsTrue(results.Count == 514); }
public void CheckIfGameInProgress_Return_False() { var client = new FantasyDataClient(); var response = client.GameService.IsGameInProgress; Assert.IsFalse(response); }
public void CurrentWeek_Is_0() { var client = new FantasyDataClient(); var response = client.SeasonService.CurrentWeek; Assert.IsTrue(response == 0); }
public void GetBoxScoresForSeasonWeek_2014_Week1_Count_Equals_16() { var client = new FantasyDataClient(); var result = client.BoxScoreService.GetForSeasonAndWeek(2014, 1); Assert.IsTrue(result.Count == 16); }
public void GetActiveTeams_Count_Equals_32() { var client = new FantasyDataClient(); var results = client.TeamService.Get(); Assert.IsTrue(results.Count == 32); }
public async Task GetScheduleBySeasonAsync_2015_RegularSeason_IsNotNull() { var client = new FantasyDataClient(); var response = await client.ScheduleService.GetAsync(2015, SeasonTypes.REGULAR); Assert.IsNotNull(response); }
public void GetPlayersSeasonStatsByTeam_DEN_Count_Equals_59() { var client = new FantasyDataClient(); var response = client.PlayerSeasonStatService.GetByTeam(TeamTypes.DEN, 2014); Assert.IsTrue(response.Count == 59); }
public void GetPlayersGameStatsByTeamForSeasonAndWeek_2014_Week1_DEN_Count_Equals_53() { var client = new FantasyDataClient(); var response = client.PlayerGameStatService.GetByTeamAndWeek(TeamTypes.DEN, 2014, 1); Assert.IsTrue(response.Count == 53); }
public void GetGameStatsForSeason_2014_Count_Equals_256() { var client = new FantasyDataClient(); var response = client.GameService.GetBySeason(2014); Assert.IsTrue(response.Count == 256); }
public void GetFreeAgents_Count_Greater_Than_Zero() { var client = new FantasyDataClient(); var response = client.PlayerService.GetFreeAgents(); Assert.IsTrue(response.Count > 0); }
public void GetFantasyDefenseForSeason_2014_Count_Equals_32() { var client = new FantasyDataClient(); var response = client.TeamDefenseService.GetSeasons(2014); Assert.IsTrue(response.Count == 32); }
public void GetFantasyDefenseByGame_2014_Week_1_Count_Equals_32() { var client = new FantasyDataClient(); var response = client.TeamDefenseService.GetGames(2014, 1); Assert.IsTrue(response.Count == 32); }
public void GetDeltaBoxScores_Last_1_Minutes_Count_Equals_Zero() { var client = new FantasyDataClient(); var response = client.BoxScoreService.RecentlyUpdated(1); Assert.IsTrue(response.Count == 0); }
public void Get_PlayerGameStats_ForPeytonManning_Week1_2014_PassingTouchdowns_Equals_3() { var client = new FantasyDataClient(); var response = client.PlayerGameStatService.GetByGame(7328, 1, 2014); Assert.IsTrue(response.PassingTouchdowns == 3); }
public void GetPlayerSeasonStats_PeytonManning_2014_PassingTouchdowns_Equals_39() { var client = new FantasyDataClient(); var response = client.PlayerSeasonStatService.GetByPlayer(7328, 2014); Assert.IsTrue(response[0].PassingTouchdowns == 39); }
public void GetInjuriesForSeasonAndWeek_2014_Week1_Count_Equals_308() { var client = new FantasyDataClient(); var response = client.InjuryService.GetByWeek(2014, 1); Assert.IsTrue(response.Count == 308); }
public void GetPlayerStatsAndNews_PeytonManning_2014_IsNotNull() { var client = new FantasyDataClient(); var response = client.PlayerService.Get(7328); Assert.IsNotNull(response); }
public void GetInjuriesForSeasonAndWeekForTeam_2014_Week1_DEN_Count_Equals_10() { var client = new FantasyDataClient(); var response = client.InjuryService.GetByWeekAndTeam(TeamTypes.DEN, 2014, 1); Assert.IsTrue(response.Count == 10); }
public void GetPlayersGameStatsForSeasonAndWeek_2014_Week1_Count_Equals_1696() { var client = new FantasyDataClient(); var response = client.PlayerGameStatService.GetByWeek(2014, 1); Assert.IsTrue(response.Count == 1696); }
public void LastCompletedSeason_Is_2014() { var client = new FantasyDataClient(); var response = client.SeasonService.LastCompletedSeason; Assert.IsTrue(response == 2014); }
public void GetScheduleBySeason_2015_RegularSeason_IsNotNull() { var client = new FantasyDataClient(); var response = client.ScheduleService.Get(2015, SeasonTypes.REGULAR); Assert.IsNotNull(response); }
public void LastCompletedWeek_Is_4() { var client = new FantasyDataClient(); var response = client.SeasonService.LastCompletedWeek; Assert.IsTrue(response == 4); }
public void GetLiveBoxScores_Count_Equals_Zero() { var client = new FantasyDataClient(); var response = client.BoxScoreService.GetLive(); Assert.IsTrue(response.Count == 0); }
public void Get_News_Count_For_Denver_GreaterThanZero() { var client = new FantasyDataClient(); var response = client.NewsService.GetForTeam(TeamTypes.DEN); Assert.IsTrue(response.Count > 0); }
public void GetBoxScore_2014_Week1_WAS_AwayAssistedTackles_Equals_10() { var client = new FantasyDataClient(); var result = client.BoxScoreService.Get(2014, 1, "WAS"); Assert.IsTrue(result.Game.AwayAssistedTackles == 10); }
public void Get_News_Count_For_PlayerID4631_GreaterThanZero() { var client = new FantasyDataClient(); var response = client.NewsService.GetForPlayer(4631); Assert.IsTrue(response.Count > 0); }
public void GetByWeekForSeason_2014_Count_Equals_32() { var client = new FantasyDataClient(); var result = client.SeasonService.GetByeWeeks(2014); Assert.IsTrue(result.Count == 32); }
public void CurrentSeason_Is_2014() { var client = new FantasyDataClient(); var response = client.SeasonService.CurrentSeason; Assert.IsTrue(response == 2014); }