Пример #1
0
        public async Task WpTestEnumPageLinksTest()
        {
            var site = await WpLzhSiteAsync;
            var page = new WikiPage(site, site.SiteInfo.MainPage);

            Output.WriteLine(page.ToString());
            var links = await page.EnumLinksAsync().ToList();

            ShallowTrace(links);
            Assert.True(links.Contains("文言維基大典"));
            Assert.True(links.Contains("幫助:凡例"));
            Assert.True(links.Contains("維基大典:卓著"));
        }