public void Test0()
        {
            Assert.AreEqual(new Size(1000, 200), TestUtility.Inv(typeof(ImageHelper), "GetSize", 2000, 400, 1000, 1000));
            Assert.AreEqual(new Size(200, 1000), TestUtility.Inv(typeof(ImageHelper), "GetSize", 400, 2000, 1000, 1000));

            using (var image = new Bitmap(2000, 400))
            using (var image2 = image.Shrink(1000, 1000))
            {
                Assert.AreSame(image, image.Shrink(4000, 4000));
                Assert.AreEqual(1000, image2.Width);
                Assert.AreEqual(200, image2.Height);
            }
            using (var image = new Bitmap(400, 2000))
            using (var image2 = image.Shrink(1000, 1000))
            {
                Assert.AreSame(image, image.Shrink(4000, 4000));
                Assert.AreEqual(200, image2.Width);
                Assert.AreEqual(1000, image2.Height);
            }
        }