public void NullInput() { formatter.Format(null); }
public void SingleEqualsFormatsAsODataFilter() { var expression = ObjectReference.FromString("foo.bar") == 1; var actual = _expressionFormatter.Format(expression); Assert.Equal("bar eq 1", actual); }
private void FormatInput() { FormattedExpression = ExpressionFormatter.Format(RawExpression) + " ="; FormattedResult = NumberFormatter.Format(RawResult.ToString()); }