You are here: Start » AVL.NET » AVS.AssertImageEqualTo Method

AVS.AssertImageEqualTo Method

Asserts that two images are equal or differ by a small given margin.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void AssertImageEqualTo
(
	AvlNet.Image inImage,
	AvlNet.Image inExpectedImage,
	float inMaxDifference,
	string inDescription
)

Parameters

Name Type Range Default Description
inImageAvlNet.ImageInput image.
inExpectedImageAvlNet.Image
inMaxDifferencefloat<0.0f, INF>0.0fMaximum absolute difference between a specific pixel of the two images. Default value: 0.0f.
inDescriptionstring

Function Overrides

See also