public void TestSigueViva3() { //Arrange bool estadoActual = true; byte num = 3; bool estado; //Act estado = Celula.SigueViva(estadoActual, num); //Assert Assert.IsTrue(estado); }
public void TestMuere5() { //Arrange bool estadoActual = true; byte num = 5; bool estado; //Act estado = Celula.SigueViva(estadoActual, num); //Assert Assert.IsFalse(estado); }
public void TestSigueMuerta2() { //Arrange bool estadoActual = false; byte num = 2; bool estado; //Act estado = Celula.SigueViva(estadoActual, num); //Assert Assert.IsFalse(estado); }