Permalink
Browse files

ExpressionSample - add tests for reserved prefix variables (not working)

  • Loading branch information...
bobbymcr committed Apr 15, 2018
1 parent fabe4f6 commit ab1564a53feb58a4a40bad2e9f342bcc696ee02a
@@ -92,5 +92,14 @@ public void FailedReserved(string input)
{
Test.Bad(input);
}
[InlineData("AND1", "NumV(AND1)")]
[InlineData("andX", "NumV(ANDX)")]
[InlineData("and1and$", "StrV(AND1AND)")]
[Theory(Skip = "reserved prefix variables not working")]
public void AllowedReservedPrefix(string input, string output)
{
Test.Good(input, output);
}
}
}
@@ -74,5 +74,14 @@ public void FailedReserved(string input)
{
Test.Bad(input);
}
[InlineData("EXP1", "NumV(EXP1)")]
[InlineData("expX", "NumV(EXPX)")]
[InlineData("exp1exp$", "StrV(EXP1EXP)")]
[Theory(Skip = "reserved prefix variables not working")]
public void AllowedReservedPrefix(string input, string output)
{
Test.Good(input, output);
}
}
}
@@ -88,5 +88,14 @@ public void FailedReservedString(string input)
{
Test.Bad(input);
}
[InlineData("LEFT1", "NumV(LEFT1)")]
[InlineData("leftX", "NumV(LEFTX)")]
[InlineData("left1left$", "StrV(LEFT1LEFT)")]
[Theory(Skip = "reserved prefix variables not working")]
public void AllowedReservedPrefix(string input, string output)
{
Test.Good(input, output);
}
}
}
@@ -73,5 +73,14 @@ public void FailedReserved(string input)
{
Test.Bad(input);
}
[InlineData("LEN1", "NumV(LEN1)")]
[InlineData("lenX", "NumV(LENX)")]
[InlineData("len1len$", "StrV(LEN1LEN)")]
[Theory(Skip = "reserved prefix variables not working")]
public void AllowedReservedPrefix(string input, string output)
{
Test.Good(input, output);
}
}
}
@@ -100,5 +100,14 @@ public void FailedReservedString(string input)
{
Test.Bad(input);
}
[InlineData("MID1", "NumV(MID1)")]
[InlineData("midX", "NumV(MIDX)")]
[InlineData("mid1mid$", "StrV(MID1MID)")]
[Theory(Skip = "reserved prefix variables not working")]
public void AllowedReservedPrefix(string input, string output)
{
Test.Good(input, output);
}
}
}
@@ -75,5 +75,14 @@ public void FailedReserved(string input)
{
Test.Bad(input);
}
[InlineData("NOT1", "NumV(NOT1)")]
[InlineData("notX", "NumV(NOTX)")]
[InlineData("not1not$", "StrV(NOT1NOT)")]
[Theory(Skip = "reserved prefix variables not working")]
public void AllowedReservedPrefix(string input, string output)
{
Test.Good(input, output);
}
}
}
@@ -92,5 +92,14 @@ public void FailedReserved(string input)
{
Test.Bad(input);
}
[InlineData("OR1", "NumV(OR1)")]
[InlineData("orX", "NumV(ORX)")]
[InlineData("or1or$", "StrV(OR1OR)")]
[Theory(Skip = "reserved prefix variables not working")]
public void AllowedReservedPrefix(string input, string output)
{
Test.Good(input, output);
}
}
}
@@ -88,5 +88,14 @@ public void FailedReservedString(string input)
{
Test.Bad(input);
}
[InlineData("RIGHT1", "NumV(RIGHT1)")]
[InlineData("rightX", "NumV(RIGHTX)")]
[InlineData("right1right$", "StrV(RIGHT1RIGHT)")]
[Theory(Skip = "reserved prefix variables not working")]
public void AllowedReservedPrefix(string input, string output)
{
Test.Good(input, output);
}
}
}
@@ -74,5 +74,14 @@ public void FailedReserved(string input)
{
Test.Bad(input);
}
[InlineData("SQR1", "NumV(SQR1)")]
[InlineData("sqrX", "NumV(SQRX)")]
[InlineData("sqr1sqr$", "StrV(SQR1SQR)")]
[Theory(Skip = "reserved prefix variables not working")]
public void AllowedReservedPrefix(string input, string output)
{
Test.Good(input, output);
}
}
}

0 comments on commit ab1564a

Please sign in to comment.