Пример #1
0
        public void DrawTest()
        {
            var locations = Location.GetLocations();

            for (int i = 0; i < locations.Length; i++)
            {
                locations[i].NewItem = locations[i].OrigItem;
            }
            Bitmap[] images = MapImages.Draw(locations);
            Assert.AreEqual(7, images.Length);
            foreach (Bitmap image in images)
            {
                Assert.IsNotNull(image);
            }
        }
Пример #2
0
 public Bitmap[] GetMaps()
 {
     return(MapImages.Draw(locations));
 }