예제 #1
0
        public void NegativeEarnBaseComTest()
        {
            BasePlusCommissionEmployee bCS = new BasePlusCommissionEmployee
                                                 ("John", "Doe", "123", 500, 0.5m, 1000m);

            Assert.AreNotEqual(1500, bCS.Earnings());
        }
예제 #2
0
        public void Earnings2Test()
        {
            BasePlusCommissionEmployee bCS = new BasePlusCommissionEmployee
                                                 ("John", "Doe", "123", 500, 0.5m, 1000m);

            Assert.AreEqual(1250, bCS.Earnings());
        }