﻿using ConsoleApp_Testr;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ConsoleApp_Testr_Test
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Test();
        }

        private static void Test()
        {
            try
            {
                Rechner rechner = new Rechner();
                bool test = rechner.Rechnen(1, 1, 1) == 2;
                Console.WriteLine(test);
            }
            catch (Exception ex) { Console.WriteLine(ex.Message); }
            finally
            {
                if (Console.ReadKey().Key == ConsoleKey.Enter) Test();
            }
        }
    }
}
