Ejemplo n.º 1
0
        public void Should_ExistItemTrue_When_AScreenIsInMosaic()
        {
            var mosaic  = new Mosaic();
            var screen1 = new Screen(100, 200);

            mosaic.AddNeighbor(screen1);
            var exist = mosaic.ExistItem(screen1);

            Assert.Single(mosaic.Items);
            Assert.True(exist);
        }