public void CallStaticAnd() { //Console.WriteLine(Ands.StaticAnd(false, false)); if (Ands.StaticAnd(false, false) == true) { Environment.Exit(-1); } int a = 23; int b = 43; //Console.WriteLine(Ands.StaticAnd(a < b, b > a)); if (Ands.StaticAnd(a <b, b> a) == false) { Environment.Exit(-1); } bool c = a > b; bool d = true; //Console.WriteLine(Ands.StaticAnd(c, d)); if (Ands.StaticAnd(c, d)) { Environment.Exit(-1); } }
public void CallStaticAnd() { Console.WriteLine(Ands.StaticAnd(false, false)); int a = 23; int b = 43; Console.WriteLine(Ands.StaticAnd(a <b, b> a)); bool c = a > b; bool d = true; Console.WriteLine(Ands.StaticAnd(c, d)); }