You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CodingSeb.ExpressionEvaluator.Tests/ExpressionEvaluatorTests.cs
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1013,6 +1013,13 @@ public static IEnumerable<TestCaseData> TestCasesForWithCustomVariablesExpressio
1013
1013
yieldreturnnewTestCaseData("Test(5)",delegatesInVariable,true).SetCategory("Delegate as a variable").Returns(null);
1014
1014
1015
1015
#endregion
1016
+
1017
+
#region Delegates as Property of object
1018
+
1019
+
yieldreturnnewTestCaseData("customObject.AddAsDelegate(6, 10)",onInstanceVariables,true).SetCategory("Delegate as a instance Property").Returns(16);
1020
+
yieldreturnnewTestCaseData("ClassForTest1.AddAsStaticDelegate(6, 10)",onInstanceVariables,true).SetCategory("Delegate as a static Property").Returns(16);
0 commit comments