public async void RetrieveStreamsTest() { Total <List <Stream> > topStreams = await twixel.RetrieveStreams(); Assert.Equal(25, topStreams.wrapped.Count); Total <List <Stream> > leagueStreams = await twixel.RetrieveStreams("League of Legends"); Assert.Equal("League of Legends", leagueStreams.wrapped[0].game); }
public async void RetrieveStreamsTest() { List <Stream> topStreams = await twixel.RetrieveStreams(false); Assert.Equal(25, topStreams.Count); List <Stream> leagueStreams = await twixel.RetrieveStreams("League of Legends"); Assert.Equal(leagueStreams[0].game, "League of Legends"); }