|
|
@ -29,7 +29,7 @@ namespace SixLabors.ImageSharp.Tests |
|
|
metaData.VerticalResolution = 2; |
|
|
metaData.VerticalResolution = 2; |
|
|
metaData.Properties.Add(imageProperty); |
|
|
metaData.Properties.Add(imageProperty); |
|
|
|
|
|
|
|
|
ImageMetaData clone = metaData.DeepClone(); |
|
|
ImageMetaData clone = metaData.Clone(); |
|
|
|
|
|
|
|
|
Assert.Equal(exifProfile.ToByteArray(), clone.ExifProfile.ToByteArray()); |
|
|
Assert.Equal(exifProfile.ToByteArray(), clone.ExifProfile.ToByteArray()); |
|
|
Assert.Equal(4, clone.HorizontalResolution); |
|
|
Assert.Equal(4, clone.HorizontalResolution); |
|
|
@ -50,7 +50,7 @@ namespace SixLabors.ImageSharp.Tests |
|
|
metaData.VerticalResolution = 2; |
|
|
metaData.VerticalResolution = 2; |
|
|
metaData.Properties.Add(imageProperty); |
|
|
metaData.Properties.Add(imageProperty); |
|
|
|
|
|
|
|
|
ImageMetaData clone = metaData.DeepClone(); |
|
|
ImageMetaData clone = metaData.Clone(); |
|
|
clone.HorizontalResolution = 2; |
|
|
clone.HorizontalResolution = 2; |
|
|
clone.VerticalResolution = 4; |
|
|
clone.VerticalResolution = 4; |
|
|
|
|
|
|
|
|
|