public async Task WikiaEnumRevisionsTest2() { var site = await WikiaTestSiteAsync; var page = new WikiPage(site, "Project:Sandbox"); var revisions = await page.EnumRevisionsAsync().Take(2000).ToList(); Assert.True(revisions.SequenceEqual(revisions.OrderByDescending(r => r.TimeStamp))); ShallowTrace(revisions); }
public async Task WpTestEnumRevisionsTest2() { var site = await WpTest2SiteAsync; // 5,100 revisions in total var page = new WikiPage(site, "Page:Edit_page_for_chrome"); var revisions = await page.EnumRevisionsAsync(2000).Take(2000).ToList(); Assert.True(revisions.SequenceEqual(revisions.OrderByDescending(r => r.TimeStamp))); ShallowTrace(revisions); }