public void StringIsRight() { var specification = new ExpressionSpecification <int>(i => (i > 1 && i < 10) || i == 42); var str = specification.ToString(); str.Should().Be("i => (((i > 1) && (i < 10)) || (i == 42))"); }
public void StringIsRight() { var specification = new ExpressionSpecification <int>(i => (i > 1 && i < 10) || i == 42); var str = specification.ToString(); str.Should().Be("i => (((i > 1) && (i < 10)) || (i == 42))"); }