Skip to content

Commit ba5f062

Browse files
authored
remove duplicate typeof tests
1 parent eef9664 commit ba5f062

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

ExpressionEvaluatorTests.cs

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -449,16 +449,6 @@ public void TypeTesting(string expression, Type type)
449449
[TestCase("Abs(-4) > 10 / 2 ? (true ? 6 : 3+2) : (false ? Abs(-18) : 100 / 2)", ExpectedResult = 50, Category = "Conditional Operator t ? x : y")]
450450
#endregion
451451

452-
#region typeof
453-
[TestCase("typeof(int)", ExpectedResult = typeof(int), Category = "typeof")]
454-
[TestCase("typeof(float)", ExpectedResult = typeof(float), Category = "typeof")]
455-
[TestCase("typeof(string)", ExpectedResult = typeof(string), Category = "typeof")]
456-
[TestCase("typeof(Regex)", ExpectedResult = typeof(Regex), Category = "typeof")]
457-
[TestCase("typeof(string) == \"Hello\".GetType()", ExpectedResult = true, Category = "typeof")]
458-
[TestCase("typeof(int) == 12.GetType()", ExpectedResult = true, Category = "typeof")]
459-
[TestCase("typeof(string) == 12.GetType()", ExpectedResult = false, Category = "typeof")]
460-
#endregion
461-
462452
#region Math Constants
463453
[TestCase("pi", TestOf = typeof(double), ExpectedResult = Math.PI, Category = "Math Constants")]
464454
[TestCase("e", TestOf = typeof(double), ExpectedResult = Math.E, Category = "Math Constants")]

0 commit comments

Comments
 (0)