/// <summary> ///Action 的测试 ///</summary> public void ActionTestHelper <TCase, TOther>() { PrivateObject param0 = null; SwithCaseExtension_Accessor.SwithCase <TCase, TOther> target = new SwithCaseExtension_Accessor.SwithCase <TCase, TOther>(param0); Action <TOther> expected = null; Action <TOther> actual; target.Action = expected; actual = target.Action; Assert.AreEqual(expected, actual); Assert.Inconclusive("验证此测试方法的正确性。"); }
/// <summary> ///Value 的测试 ///</summary> public void ValueTestHelper <TCase, TOther>() { PrivateObject param0 = null; SwithCaseExtension_Accessor.SwithCase <TCase, TOther> target = new SwithCaseExtension_Accessor.SwithCase <TCase, TOther>(param0); TCase expected = default(TCase); TCase actual; target.Value = expected; actual = target.Value; Assert.AreEqual(expected, actual); Assert.Inconclusive("验证此测试方法的正确性。"); }