示例#1
0
        public void TestAnyClassReponseRefToCallAMethod()
        {
            var refTesting = new GenericRefPassing();
            var result     = refTesting.AnyClassReponseRefToCallAMethod <AClass <GenericClassA>, GenericClassA>();

            Assert.IsTrue(result == 1);
        }
示例#2
0
        public void TestBClassWithAReponseRefToCallAMethod()
        {
            var refTesting = new GenericRefPassing();
            var result     = refTesting.BClassWithAReponseRefToCallAMethod();

            Assert.IsTrue(result == 2);
        }