Esempio n. 1
0
        public void testTopla()
        {
            //Arrange
            deploy.Hesapla hesap = new deploy.Hesapla();

            deploy.Adem aa = new deploy.Adem();
            aa.topla();
            //Act
            int sonuc = hesap.topla(20, 10);

            //Assert
            Assert.AreEqual(30, sonuc);
        }
Esempio n. 2
0
        public void testHesaplaYeniCustomer()
        {
            //Arrange
            deploy.Hesapla hesap = new deploy.Hesapla();

            //Act
            hesap.YeniCustomer(5);

            int sonuc = 30;

            //Assert
            Assert.AreEqual(30, sonuc);
        }