public void FantasyBird_Psi() => FantasyBirds.Psi <int, int, int, int> (x => y => x + y) (x => x * -1) (3) (5) .ShouldBe(-8);
public void FantasyBird_Bluebird_() { FantasyBirds.Bluebird_ <int, int, int, int>(x => y => x * y)(2)(x => x + 1)(2) .ShouldBe(6); FantasyBirds.Bluebird_ <string, string, string, string>(x => y => $"{x} {y}")("Hello")(x => x.ToUpper())("World") .ShouldBe("Hello WORLD"); }
public void FantasyBird_Cardinal() { FantasyBirds.Cardinal <string, string, string>(str => prefix => prefix + str) ("-") ("birds") .ShouldBe("-birds"); }
public void FantasyBird_IdStarStar() => FantasyBirds .IdStarStar <string, string, string>( x => y => $"{x} {y}!") ("Hello") ("World") .ShouldBe("Hello World!");
public void FantasyBird_Cardinal_() { FantasyBirds.Cardinal_ <int, int, int, int>(x => y => x - y) (x => x + 1) (2) (4) .ShouldBe(3); }
public void FantasyBird_Dove() { FantasyBirds.Dove <string, string, string, string>(postfix => str => str + postfix) ("!") (x => x.ToUpper()) ("birds") .ShouldBe("BIRDS!"); }
public void FantasyBird_GoldFinch() { FantasyBirds.GoldFinch <string, string, string, string> ( b => c => $"{b}_{c}") (a => $"*{a}*") ("unique") ("key") .ShouldBe("key_*unique*"); }
public void FantasyBird_FinchStar() { FantasyBirds.FinchStar <string, string, string, string>( x => y => z => $"{x}-{y}_{z}") ("unique") ("key") ("100") .ShouldBe("100-key_unique"); }
public void FantasyBird_Eagle() { FantasyBirds.Eagle <string, string, string, string, string>(prefix => str => prefix + str) ("-") (str => postfix => str + postfix) ("birds") ("!") .ShouldBe("-birds!"); }
public void FantasyBird_Dovekie() { FantasyBirds.Dovekie <string, string, string, string, string>(prefix => str => prefix + str) (x => x.ToUpper()) ("fantasy-") (x => x.ToLower()) ("BIRDS") .ShouldBe("FANTASY-birds"); }
public void FantasyBird_Dickcissel() { FantasyBirds.Dickcissel <string, string, string, string, string>(prefix => postfix => str => prefix + str + postfix) ("-") ("!") (x => x.ToUpper()) ("birds") .ShouldBe("-BIRDS!"); }
public void FantasyBird_Bunting() { FantasyBirds.Bunting <int, int, int, int, int>(x => x * -1) (x => y => z => x + y + z) (1) (2) (3) .ShouldBe(-6); }
public void FantasyBird_EagleBald() { FantasyBirds.EagleBald <string, string, string, string, string, string, string>(x => y => y + x) (a => b => b + a) ("!") ("birds") (a => b => a + b) ("fantasy")("-") .ShouldBe("fantasy-birds!"); }
public void FantasyBird_Finch() { FantasyBirds.Finch <int, int, int>(-1) (3) (x => y => x * y) .ShouldBe(-3); FantasyBirds.Finch <string, string, string>("World") ("Hello") (x => y => $"{x} {y}!") .ShouldBe("Hello World!"); }
public void FantasyBird_Applicator() { FantasyBirds.Applicator <int, int>(x => x + 1)(3).ShouldBe(4); FantasyBirds.Applicator <double, double>(x => x * x)(3.5).ShouldBe(12.25d); FantasyBirds.Applicator <string, double>(x => x != null ? Convert.ToInt32(x) : 0)("10").ShouldBe(10); }
public void FantasyBird_CardinalStarStar() { FantasyBirds.CardinalStarStar <string, string, string, string, string>(a => b => separator => postfix => a + separator + b + postfix)("fantasy")("birds")("!")("-") .ShouldBe("fantasy-birds!"); }
public void FantasyBird_CardinalStar() { FantasyBirds.CardinalStar <string, string, string, string>(str => prefix => postfix => prefix + str + postfix)("birds")("!")("-") .ShouldBe("-birds!"); }
public void FantasyBird_Becard() { FantasyBirds.Becard <int, int, int, int>(x => x * -1)(x => x * 2)(x => x - 1)(3).ShouldBe(-4); }
public void FantasyBird_Bluebird() { FantasyBirds.Bluebird <int, int, int>(x => x * -1)(x => x + 10)(5) .ShouldBe(-15); }
public void FantasyBird_Blackbird() { FantasyBirds.BlackBird <int, int, int, int>(x => x * -1)(x => y => x + y)(3)(5).ShouldBe(-8); }
public void FantasyBird_Idiot(string value) { FantasyBirds.Idiot(value).ShouldBe(value); }
public void FantasyBird_IdStar() => FantasyBirds.IdStar <string, string>( a => $"{a} World!")("Hello").ShouldBe("Hello World!");