public void ScaleToFillTest5()
 {
     var calc = new ImageSizeCalculator(794, 526);
     var imageSize = calc.ScaleToFill(590, 360);
     Assert.AreEqual(590, imageSize.Width);
     Assert.AreEqual(360, imageSize.Height);
     Assert.AreEqual(0, imageSize.XOffset);
     Assert.AreEqual(15, imageSize.YOffset);
 }
 public void ScaleToFillTest4()
 {
     var calc = new ImageSizeCalculator(600, 312);
     var imageSize = calc.ScaleToFill(600, 300);
     Assert.AreEqual(600, imageSize.Width);
     Assert.AreEqual(300, imageSize.Height);
     Assert.AreEqual(0, imageSize.XOffset);
     Assert.AreEqual(6, imageSize.YOffset);
 }
        public void ScaleToFillTest5()
        {
            var calc      = new ImageSizeCalculator(794, 526);
            var imageSize = calc.ScaleToFill(590, 360);

            Assert.AreEqual(590, imageSize.Width);
            Assert.AreEqual(360, imageSize.Height);
            Assert.AreEqual(0, imageSize.XOffset);
            Assert.AreEqual(15, imageSize.YOffset);
        }
        public void ScaleToFillTest4()
        {
            var calc      = new ImageSizeCalculator(600, 312);
            var imageSize = calc.ScaleToFill(600, 300);

            Assert.AreEqual(600, imageSize.Width);
            Assert.AreEqual(300, imageSize.Height);
            Assert.AreEqual(0, imageSize.XOffset);
            Assert.AreEqual(6, imageSize.YOffset);
        }