Property | Type | Description | |
---|---|---|---|
ExpectedResults | |||
_bitmap | |||
_ownerClass | string | ||
_specialTolerance | |||
cache |
Method | Description | |
---|---|---|
AssertAlmostEqual ( |
||
AssertAlmostEqual ( float expected, float actual ) : void | ||
AssertAlmostEqual ( float expected, float actual, float tolerance ) : void | ||
AssertCompare ( ) : void | ||
AssertCompare ( double tolerance ) : void | ||
CalculateNorm ( |
||
CalculateSHA1 ( ) : string | ||
Compare ( ) : bool | ||
Compare ( double tolerance ) : bool |
Checks that the given bitmap norm is similar to expected
|
|
CompareToExpected ( ) : double | ||
Create ( int width, int height ) : DrawingTest | ||
Create ( int width, int height, string ownerClass ) : DrawingTest | ||
Dispose ( ) : void | ||
GetNorm ( ) : double | ||
PDCompare ( ) : bool | ||
PDCompare ( double tolerance ) : bool | ||
Show ( ) : void |
Method | Description | |
---|---|---|
CreateForm ( string title ) : IMyForm | ||
DetermineCallingFunction ( ) : string | ||
DrawingTest ( ) : |
||
GetExpectedNorm ( double myNorm ) : double | ||
GetReferenceImage ( string testName ) : |
||
GetSpecialTolerance ( string testName ) : double |
Method | Description | |
---|---|---|
AssertAlmostEqual ( float expected, float actual, float tolerance, string message ) : void | ||
CheckCounter ( ) : void | ||
CompareToExpectedInternal ( ) : double | ||
GetImageFFTArray ( |
||
Init ( |
||
Init ( int width, int height ) : void |
public static AssertAlmostEqual ( |
||
expected | ||
actual | ||
return | void |
public static AssertAlmostEqual ( float expected, float actual ) : void | ||
expected | float | |
actual | float | |
return | void |
public static AssertAlmostEqual ( float expected, float actual, float tolerance ) : void | ||
expected | float | |
actual | float | |
tolerance | float | |
return | void |
public AssertCompare ( double tolerance ) : void | ||
tolerance | double | |
return | void |
public static CalculateNorm ( |
||
bitmap | ||
return | double |
public Compare ( double tolerance ) : bool | ||
tolerance | double | tolerance in percents (0..100) |
return | bool |
public static Create ( int width, int height ) : DrawingTest | ||
width | int | |
height | int | |
return | DrawingTest |
public static Create ( int width, int height, string ownerClass ) : DrawingTest | ||
width | int | |
height | int | |
ownerClass | string | |
return | DrawingTest |
protected abstract CreateForm ( string title ) : IMyForm | ||
title | string | |
return | IMyForm |
protected abstract DetermineCallingFunction ( ) : string | ||
return | string |
protected abstract GetExpectedNorm ( double myNorm ) : double | ||
myNorm | double | |
return | double |
protected abstract GetReferenceImage ( string testName ) : |
||
testName | string | |
return |
protected GetSpecialTolerance ( string testName ) : double | ||
testName | string | |
return | double |
protected static ExpectedResultsHash,DrawingTestHelper ExpectedResults | ||
return |
protected Hashtable,System.Collections _specialTolerance | ||
return |