public void GetCommonDuelsGivesGivesEmptyWhenNoCommonDuels() { var api = new GameStatsApi(storage); var duels = api.GetCommonDuels(3, 4); Assert.Equal(new Duel[] {}, duels); }
public void GetCommonDuelsGivesListOfDuels() { var api = new GameStatsApi(storage); var duels = api.GetCommonDuels(0, 1); Assert.Equal(new [] {storage.Duels[0], storage.Duels[1]}, duels); }