예제 #1
0
        public void RangeShouldHaveCorrectStringRepresentation()
        {
            const string expected = "8-88";
            string       actual   = NntpArticleRange.Range(8, 88).ToString();

            Assert.Equal(expected, actual);
        }
예제 #2
0
 private static void TestXover(NntpClient client, NntpGroup group)
 {
     // xover
     ShowLines(client.Xover(NntpArticleRange.Range(group.HighWaterMark, group.HighWaterMark)).Lines);
 }
예제 #3
0
 private static void TestXhdr(NntpClient client, NntpGroup group)
 {
     // xhdr
     ShowLines(client.Xhdr("Subject", NntpArticleRange.Range(group.HighWaterMark, group.HighWaterMark)).Lines);
 }