public void DocumentSnaphot_Should_Have_Correct_Line_Len() { TextDocument document = new TextDocument(); document.Text = "puppy\r\npussy\r\nbirdie"; DocumentSnapshot documentSnaphot = new DocumentSnapshot(document); Assert.AreEqual(5, documentSnaphot.GetLineLength(0)); Assert.AreEqual(5, documentSnaphot.GetLineLength(1)); Assert.AreEqual(6, documentSnaphot.GetLineLength(2)); }