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.
18 lines
568 B
18 lines
568 B
// Copyright (c) Six Labors.
|
|
// Licensed under the Six Labors Split License.
|
|
|
|
namespace SixLabors.ImageSharp.Tests.TestUtilities.ImageComparison;
|
|
|
|
public class ImageDimensionsMismatchException : ImagesSimilarityException
|
|
{
|
|
public ImageDimensionsMismatchException(Size expectedSize, Size actualSize)
|
|
: base($"The image dimensions {actualSize} do not match the expected {expectedSize}!")
|
|
{
|
|
this.ExpectedSize = expectedSize;
|
|
this.ActualSize = actualSize;
|
|
}
|
|
|
|
public Size ExpectedSize { get; }
|
|
|
|
public Size ActualSize { get; }
|
|
}
|
|
|