mirror of https://github.com/SixLabors/ImageSharp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
782 B
30 lines
782 B
// Copyright (c) Six Labors and contributors.
|
|
// Licensed under the Apache License, Version 2.0.
|
|
|
|
using System.IO;
|
|
|
|
using SixLabors.ImageSharp.Formats.Bmp;
|
|
using SixLabors.ImageSharp.Formats.WebP;
|
|
using Xunit;
|
|
|
|
// ReSharper disable InconsistentNaming
|
|
|
|
namespace SixLabors.ImageSharp.Tests.Formats.WebP
|
|
{
|
|
using static SixLabors.ImageSharp.Tests.TestImages.WebP;
|
|
|
|
public class WebPMetaDataTests
|
|
{
|
|
[Fact]
|
|
public void CloneIsDeep()
|
|
{
|
|
/*TODO:
|
|
var meta = new WebPMetadata { BitsPerPixel = BmpBitsPerPixel.Pixel24 };
|
|
var clone = (WebPMetadata)meta.DeepClone();
|
|
|
|
clone.BitsPerPixel = BmpBitsPerPixel.Pixel32;
|
|
|
|
Assert.False(meta.BitsPerPixel.Equals(clone.BitsPerPixel));*/
|
|
}
|
|
}
|
|
}
|
|
|