Exemplo n.º 1
0
        public void Edit_Test()
        {
            //Arrange
            Mon newMon = new Mon("Electrode", 43, 24, 31, 61, 32, 23, 23);

            newMon.Save();
            Mon expectedMon = new Mon("Electrode", 43, 24, 32, 61, 32, 23, 20, newMon.GetMonId());

            //Act
            newMon.Edit("Electrode", 43, 24, 32, 61, 32, 23, 20);

            //Assert
            Assert.AreEqual(expectedMon, newMon);
        }