public void FullPosition() { var position = new NamedTextPosition("source", 3, 14); position.ToString().ShouldBe("source(3,14)"); }
public void SourceNameOnly() { var position = new NamedTextPosition("source"); position.ToString().ShouldBe("source"); }
public void LineNumberOnly() { var position = new NamedTextPosition("source", 3); position.ToString().ShouldBe("source(3)"); }