示例#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));
 }