public void IsContainerCanContainsComponent_WhenCanNotContains_ReturnsFalse()
 {
     bear.Male = Lab2Zoo.Models.Enums.MaleMode.Female;
     Assert.False(femaleCage.IsContainerCanContainsComponent(maleCage));
     Assert.False(maleCage.IsContainerCanContainsComponent(bear));
 }
예제 #2
0
 public void IsContainerCanContainsComponent_WhenCompIsBears_ReturnsTrue()
 {
     Assert.True(mainBearCage.IsContainerCanContainsComponent(maleBear));
     Assert.True(bearFemaleCage.IsContainerCanContainsComponent(femaleBear));
 }