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