public void WrapTest5() { FuncWrapper sut = Fun.Wrap((string s, int x, bool y, decimal z, char c) => String.Format(s + c, y ? x : z)); sut.Should().NotBeNull(); sut.Should().BeOfType <FuncWrapper>(); }
public void WrapTest3() { FuncWrapper sut = Fun.Wrap((string s, int x, bool y) => String.Format(s, y ? x : 0)); sut.Should().NotBeNull(); sut.Should().BeOfType <FuncWrapper>(); }
public void WrapTest2() { FuncWrapper sut = Fun.Wrap((string s, int x) => String.Format(s, x)); sut.Should().NotBeNull(); sut.Should().BeOfType <FuncWrapper>(); }
public void WrapTest1() { FuncWrapper sut = Fun.Wrap((int a) => a); sut.Should().NotBeNull(); sut.Should().BeOfType <FuncWrapper>(); }
public void WrapTest(object x) { FuncWrapper sut = Fun.Wrap(() => x); sut.Should().NotBeNull(); sut.Should().BeOfType <FuncWrapper>(); }
public void AsFunTest(object x) { FuncWrapper sut = x.AsFun(); sut.Should().NotBeNull(); sut.Should().BeOfType <FuncWrapper>(); }