public virtual void test_biFunction_fail2() { System.Func <string, string, string> a = Unchecked.biFunction((t, u) => { throw new Exception(); }); assertThrows(() => a("A", "B"), typeof(Exception)); }
//------------------------------------------------------------------------- public virtual void test_biFunction_success() { System.Func <string, string, string> a = Unchecked.biFunction((t, u) => t + u); assertEquals(a("A", "B"), "AB"); }