Beispiel #1
0
        public static void Xor()
        {
            int myRes = XOR.Operation(TEST_1, TEST_2);
            int res   = (TEST_1 ^ TEST_2);

            bool working = res == myRes;

            Console.WriteLine(res);
            Console.WriteLine(myRes);
            Console.WriteLine((working ? "" : "Not ")
                              + "Working!");
        }