static void Main(string[] args)
        {
            ICalculator calc = new Calculator();

            CalculateFromConsole(calc, new Utility());

            Console.WriteLine("ilk sayi " + calc.FirstNumber);

            Console.WriteLine("ikinci sayi " + calc.SecondNumber);

            Console.WriteLine("sonuc " + calc.Result);

            CalculateFromFile(calc, new Utility());

            Console.WriteLine("ilk sayi " + calc.FirstNumber);

            Console.WriteLine("ikinci sayi " + calc.SecondNumber);

            Console.WriteLine("sonuc " + calc.Result);

            ISalaryCalculator salarycalc = new SalaryCalculator();

            SalaryCalculateFromConsole(salarycalc);

            Console.WriteLine("calistigi gun sayisi " + salarycalc.NumberOfDays);

            Console.WriteLine("gunluk yevmiye " + salarycalc.DailyWages);

            Console.WriteLine("maasi " + salarycalc.Salary);

            Console.ReadKey();
        }
        public void HourlyWageTest()
        {
            SalaryCalculator sc = new SalaryCalculator();
            decimal hourlyWage = sc.GetHourlyWage(52000);

            Assert.AreEqual(25, hourlyWage);
        }
        public void AnnualSalaryTest()
        {
            //Arrange
            SalaryCalculator sc = new SalaryCalculator();

            //Act
            decimal annualSalary = sc.GetAnnualSalary(50);
            //Assert
            Assert.AreEqual(104000, annualSalary);
        }