Exemple #1
0
        public void FacilityLayer_SpaceExists_ReturnsTrue()
        {
            var layer = new FacilityLayer(3, 3);

            Assert.IsTrue(layer.Exists(new XY(2, 2)));
        }
Exemple #2
0
        public void FacilityLayer_SpaceDoesNotExist_ReturnsFalse()
        {
            var layer = new FacilityLayer(3, 3);

            Assert.IsFalse(layer.Exists(new XY(4, 4)));
        }