using System.Collections.Generic;
public const string BrakWartosci = "s1";
public const string OdbiorcaNieTaki = "s2";
public const string TypTylkoDlaOdbiorcy = "s3";
public static IEnumerable<string> Test1(bool szablonPusty, bool typMaWartosc, bool odbiorcaNiepusty,bool typZawartyDlaWieluOdbiorcow)
yield return BrakWartosci;
yield return OdbiorcaNieTaki;
if(typZawartyDlaWieluOdbiorcow)
yield return TypTylkoDlaOdbiorcy;
public static IEnumerable<string> Test2(bool szablonPusty, bool typMaWartosc, bool odbiorcaNiepusty,bool typZawartyDlaWieluOdbiorcow)
yield return BrakWartosci;
yield return OdbiorcaNieTaki;
if(typZawartyDlaWieluOdbiorcow)
yield return TypTylkoDlaOdbiorcy;
public static void Main()
Console.WriteLine(!Test1(false,false,false,false).Except(Test2(false,false,false,false)).Any());
Console.WriteLine(!Test1(false,false,false,true) .Except(Test2(false,false,false,true)).Any());
Console.WriteLine(!Test1(false,false,true,false) .Except(Test2(false,false,true,false)).Any());
Console.WriteLine(!Test1(false,false,true,true) .Except(Test2(false,false,true,true)).Any());
Console.WriteLine(!Test1(false,true,false,false) .Except(Test2(false,true,false,false)).Any());
Console.WriteLine(!Test1(false,true,false,true) .Except(Test2(false,true,false,true)).Any());
Console.WriteLine(!Test1(false,true,true,false) .Except(Test2(false,true,true,false)).Any());
Console.WriteLine(!Test1(false,true,true,true) .Except(Test2(false,true,true,true)).Any());
Console.WriteLine(!Test1(true,false,false,false).Except(Test2(true,false,false,false)).Any());
Console.WriteLine(!Test1(true,false,false,true) .Except(Test2(true,false,false,true)).Any());
Console.WriteLine(!Test1(true,false,true,false) .Except(Test2(true,false,true,false)).Any());
Console.WriteLine(!Test1(true,false,true,true) .Except(Test2(true,false,true,true)).Any());
Console.WriteLine(!Test1(true,true,false,false) .Except(Test2(true,true,false,false)).Any());
Console.WriteLine(!Test1(true,true,false,true) .Except(Test2(true,true,false,true)).Any());
Console.WriteLine(!Test1(true,true,true,false) .Except(Test2(true,true,true,false)).Any());
Console.WriteLine(!Test1(true,true,true,true) .Except(Test2(true,true,true,true)).Any());