public void NormalizesThumbnailSize() { PhotoSizeBase size = new PhotoSizeFactory().Create(PhotoSize.Thumbnail); Assert.IsTrue("Thumbnail.jpg".GetPhoto().CompareByContent(size.Normalize("Original.jpg".GetPhoto()))); }
public void NormalizesMiniMapSquareSize() { PhotoSizeBase size = new PhotoSizeFactory().Create(PhotoSize.MiniMapSquare); Assert.IsTrue("MiniMapSquare.jpg".GetPhoto().CompareByContent(size.Normalize("Original.jpg".GetPhoto()))); }
public void NormalizesMediumSize() { PhotoSizeBase size = new PhotoSizeFactory().Create(PhotoSize.Medium); Assert.IsTrue("Medium.jpg".GetPhoto().CompareByContent(size.Normalize("Original.jpg".GetPhoto()))); }