示例#1
0
        public void VerifyHourlyRateEqualTo50_OfStaff()
        {
            StaffInfo staffInfoObj = new StaffInfo();

            //Passing values of Staff to get the result of Hourly Rate whether it is less than 50 or not
            int hourlyRateResult = staffInfoObj.Can_GetStaff_Detail("Sonam", 003, 50);

            //Verifying the value
            Assert.AreEqual(50, hourlyRateResult);
        }
示例#2
0
        public void VerifyHourlyRateNotExceed50_Staff()
        {
            StaffInfo staffInfoObj = new StaffInfo();

            //Passing values of Staff to get the result of Hourly Rate whether it is less than 50 or not
            int hourlyRateResult = staffInfoObj.Can_GetStaff_Detail("Swarnim", 001, 30);

            //Verifying the value
            Assert.AreEqual(30, hourlyRateResult);
        }