Exemplo n.º 1
0
        public void CaclPayMath_CalcPay_ReturnTrue()
        {
            string  fName       = "Colton";
            string  lName       = "Chilelli";
            int     age         = 21;
            int     empID       = 6969;
            decimal hourlyPay   = 10m;
            int     hoursWorked = 40;

            var employee = new HourlyEmployee(fName, lName, age, empID, hourlyPay, hoursWorked);
            var result2  = employee.calcPay();

            Assert.AreEqual("$263.40", result2);
        }