Exemple #1
0
        internal static void TestEnforceEx(Enforcer e, object sub, object obj, string act, List <string> res)
        {
            var    myRes   = e.EnforceEx(sub, obj, act).Item2.ToList();
            string message = "Key: " + myRes + ", supposed to be " + res;

            if (myRes.Count > 0)
            {
                Assert.True(Utility.SetEquals(res, myRes[0].ToList()), message);
            }
        }