public void TestStaticGenericMethodInGenericClassWithObj() { Func <int, int, int> f = (a, b) => { var c = C7 <int> .Get(a, new C7A <int, int>(a, b)); return(c.t + c.u.t + c.u.u); }; this.Test(f); }
public void TestStaticGenericMethodInGenericClass() { Func <int, bool, int> f = (a, b) => { var c = C7 <int> .Get(a, b); return(c.t + (c.u ? 1 : -1)); }; this.Test(f); }