public void BetweenInclusiveAndExclusive_ShouldProduceCorrectSpan(string inclusiveSpan, string exclusiveSpan, string expected) { var inclusive = TextSpan.Parse(inclusiveSpan); var exclusive = TextSpan.Parse(exclusiveSpan); // this operation is not commutative TextSpan.BetweenInclusiveAndExclusive(inclusive, exclusive).ToString().Should().Be(expected); }