public void RangeShouldHaveCorrectStringRepresentation() { const string expected = "8-88"; string actual = NntpArticleRange.Range(8, 88).ToString(); Assert.Equal(expected, actual); }
private static void TestXover(NntpClient client, NntpGroup group) { // xover ShowLines(client.Xover(NntpArticleRange.Range(group.HighWaterMark, group.HighWaterMark)).Lines); }
private static void TestXhdr(NntpClient client, NntpGroup group) { // xhdr ShowLines(client.Xhdr("Subject", NntpArticleRange.Range(group.HighWaterMark, group.HighWaterMark)).Lines); }