public void CreateExpressionWhenBothSidesAreConstantsNegativeConstantAndParameter()
 {
     Assert.AreEqual("(-30 + a)",
                     RandomExpressionGeneratorTests.GenerateExpression(0, false, true, true));
 }
 public void CreateDivideOfParameterAndPositiveConstant()
 {
     Assert.AreEqual("(a / 30)",
                     RandomExpressionGeneratorTests.GenerateExpression(3, true, false, true));
 }
 public void CreateForUnsupportedOperation()
 {
     RandomExpressionGeneratorTests.GenerateExpression(5, false, true, false);
 }
 public void CreateMultiplyOfParameterAndPositiveConstant()
 {
     Assert.AreEqual("(a * 30)",
                     RandomExpressionGeneratorTests.GenerateExpression(2, true, false, true));
 }
 public void CreateDivideOfNegativeConstantAndParameter()
 {
     Assert.AreEqual("(-30 / a)",
                     RandomExpressionGeneratorTests.GenerateExpression(3, false, true, false));
 }
 public void CreateMultiplyOfNegativeConstantAndParameter()
 {
     Assert.AreEqual("(-30 * a)",
                     RandomExpressionGeneratorTests.GenerateExpression(2, false, true, false));
 }
 public void CreateSubtractOfParameterAndPositiveConstant()
 {
     Assert.AreEqual("(a - 30)",
                     RandomExpressionGeneratorTests.GenerateExpression(1, true, false, true));
 }
 public void CreateSubtractOfNegativeConstantAndParameter()
 {
     Assert.AreEqual("(-30 - a)",
                     RandomExpressionGeneratorTests.GenerateExpression(1, false, true, false));
 }
 public void CreateAddOfParameterAndNegativeConstant()
 {
     Assert.AreEqual("(a + -30)",
                     RandomExpressionGeneratorTests.GenerateExpression(0, false, false, true));
 }
 public void CreateAddOfPositiveConstantAndParameter()
 {
     Assert.AreEqual("(30 + a)",
                     RandomExpressionGeneratorTests.GenerateExpression(0, true, true, false));
 }