예제 #1
0
        public void NegativeEarningTest()
        {
            CommissionEmployee earn =
                new CommissionEmployee("John", "Doe", "123", 100, 0.5m);

            Assert.AreNotEqual(49, earn.Earnings());
        }
예제 #2
0
        public void EarningsTest()
        {
            CommissionEmployee earn =
                new CommissionEmployee("John", "Doe", "123", 100, 0.5m);

            Assert.AreEqual(50, earn.Earnings());
        }