Class Verify
- Namespace
- HP.LFT.Verifications
- Assembly
- HP.LFT.Verifications.dll
Class for verifying expected values in your application.
public static class Verify
- Inheritance
-
Verify
- Inherited Members
Remarks
When a Verify method returns a false value, the step fails, but the failure does not throw an exception or cause the test to stop running.
Methods
AreEqual(IEnumerable, IEnumerable, string, string, Image)
Checks whether two IEnumerable values are equal.
public static bool AreEqual(IEnumerable expected, IEnumerable actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expectedIEnumerableThe expected value.
actualIEnumerableThe actual value.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
AreEqual(decimal, decimal, string, string, Image)
Checks whether two decimal values are equal.
public static bool AreEqual(decimal expected, decimal actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expecteddecimalThe expected value.
actualdecimalThe actual value.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
AreEqual(double, double, string, string, Image)
Checks whether two double values are equal.
public static bool AreEqual(double expected, double actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expecteddoubleThe expected value.
actualdoubleThe actual value.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
AreEqual(IComparable, IComparable, string, string, Image)
Checks whether two objects are equal.
public static bool AreEqual(IComparable expected, IComparable actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expectedIComparableThe expected value.
actualIComparableThe actual value.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
AreEqual(int, int, string, string, Image)
Checks whether two integer values are equal.
public static bool AreEqual(int expected, int actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expectedintThe expected value.
actualintThe actual value.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
AreEqual(long, long, string, string, Image)
Checks whether two long values are equal.
public static bool AreEqual(long expected, long actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expectedlongThe expected value.
actuallongThe actual value.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
AreEqual(string, string, string, string, Image)
Checks whether two strings values are equal.
public static bool AreEqual(string expected, string actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expectedstringThe expected value.
actualstringThe actual value.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
AreEqual(uint, uint, string, string, Image)
Checks whether two unsigned integer values are equal.
public static bool AreEqual(uint expected, uint actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expecteduintThe expected value.
actualuintThe actual value.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
AreEqualIgnoringCase(string, string, string, string, Image)
Checks whether two string values are equal, ignoring case.
public static bool AreEqualIgnoringCase(string expected, string actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expectedstringThe expected string.
actualstringThe actual string.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
AreNotEqual(IEnumerable, IEnumerable, string, string, Image)
Checks whether two IEnumerable values are different.
public static bool AreNotEqual(IEnumerable expected, IEnumerable actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expectedIEnumerableThe expected value.
actualIEnumerableThe actual value.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
AreNotEqual(decimal, decimal, string, string, Image)
Checks whether two decimal values are different.
public static bool AreNotEqual(decimal expected, decimal actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expecteddecimalThe expected value.
actualdecimalThe actual value.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
AreNotEqual(double, double, string, string, Image)
Checks whether two double values are different.
public static bool AreNotEqual(double expected, double actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expecteddoubleThe expected value.
actualdoubleThe actual value.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
AreNotEqual(IComparable, IComparable, string, string, Image)
Checks whether two enum values are different.
public static bool AreNotEqual(IComparable expected, IComparable actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expectedIComparableThe expected value.
actualIComparableThe actual value.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
AreNotEqual(int, int, string, string, Image)
Checks whether two integer values are different.
public static bool AreNotEqual(int expected, int actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expectedintThe expected value.
actualintThe actual value.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
AreNotEqual(long, long, string, string, Image)
Checks whether two long values are different.
public static bool AreNotEqual(long expected, long actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expectedlongThe expected value.
actuallongThe actual value.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
AreNotEqual(string, string, string, string, Image)
Checks whether two strings values are different.
public static bool AreNotEqual(string expected, string actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expectedstringThe expected value.
actualstringThe actual value.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
AreNotEqual(uint, uint, string, string, Image)
Checks whether two unsigned integer values are different.
public static bool AreNotEqual(uint expected, uint actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expecteduintThe expected value.
actualuintThe actual value.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
AreNotEqualIgnoringCase(string, string, string, string, Image)
Checks whether two string values are different, ignoring case.
public static bool AreNotEqualIgnoringCase(string expected, string actual, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
expectedstringThe expected string.
actualstringThe actual string.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Contains(IEnumerable, object, string, string, Image)
Checks whether the provided collection contains the object provided in the second argument.
public static bool Contains(IEnumerable collection, object element, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
collectionIEnumerableThe collection to check.
elementobjectThe object to search for.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Contains(string, string, string, string, Image)
Checks whether the first string specified is contained within the second string.
public static bool Contains(string substring, string source, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
substringstringThe string to search for.
sourcestringThe string to check.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
EndsWith(string, string, string, string, Image)
Checks whether the 'expected' string is the last part of the 'actual' string.
public static bool EndsWith(string suffix, string source, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
suffixstringThe string to search for.
sourcestringThe string to check.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Greater(decimal, decimal, string, string, Image)
Checks whether the first number specified is greater than the second for decimal values.
public static bool Greater(decimal arg1, decimal arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1decimalThe first value, expected to be the larger number.
arg2decimalThe second value, expected to be the smaller number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Greater(double, double, string, string, Image)
Checks whether the first number specified is greater than the second for double values.
public static bool Greater(double arg1, double arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1doubleThe first value, expected to be the larger number.
arg2doubleThe second value, expected to be the smaller number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Greater(IComparable, IComparable, string, string, Image)
Checks whether the first number specified is greater than the second for IComparable values.
public static bool Greater(IComparable arg1, IComparable arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1IComparableThe first value, expected to be the larger number.
arg2IComparableThe second value, expected to be the smaller number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Greater(int, int, string, string, Image)
Checks whether the first number specified is greater than the second for integer values.
public static bool Greater(int arg1, int arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1intThe first value, expected to be the larger number.
arg2intThe second value, expected to be the smaller number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Greater(long, long, string, string, Image)
Checks whether the first number specified is greater than the second for long values.
public static bool Greater(long arg1, long arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1longThe first value, expected to be the larger number.
arg2longThe second value, expected to be the smaller number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Greater(float, float, string, string, Image)
Checks whether the first number specified is greater than the second for float values.
public static bool Greater(float arg1, float arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1floatThe first value, expected to be the larger number.
arg2floatThe second value, expected to be the smaller number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Greater(uint, uint, string, string, Image)
Checks whether the first number specified is greater than the second for unsigned integer values.
public static bool Greater(uint arg1, uint arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1uintThe first value, expected to be the larger number.
arg2uintThe second value, expected to be the smaller number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Greater(ulong, ulong, string, string, Image)
Checks whether the first number specified is greater than the second for unsigned long values.
public static bool Greater(ulong arg1, ulong arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1ulongThe first value, expected to be the larger number.
arg2ulongThe second value, expected to be the smaller number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
GreaterOrEqual(decimal, decimal, string, string, Image)
Checks whether the first number specified is greater than or equal to the second for decimal values.
public static bool GreaterOrEqual(decimal arg1, decimal arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1decimalThe first value, expected to be the larger number.
arg2decimalThe second value, expected to be the smaller number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
GreaterOrEqual(double, double, string, string, Image)
Checks whether the first number specified is greater than or equal to the second for double values.
public static bool GreaterOrEqual(double arg1, double arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1doubleThe first value, expected to be the larger number.
arg2doubleThe second value, expected to be the smaller number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
GreaterOrEqual(IComparable, IComparable, string, string, Image)
Checks whether the first number specified is greater than or equal to the second for IComparable values.
public static bool GreaterOrEqual(IComparable arg1, IComparable arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1IComparableThe first value, expected to be the larger number.
arg2IComparableThe second value, expected to be the smaller number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
GreaterOrEqual(int, int, string, string, Image)
Checks whether the first number specified is greater than or equal to the second for integer values.
public static bool GreaterOrEqual(int arg1, int arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1intThe first value, expected to be the larger number.
arg2intThe second value, expected to be the smaller number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
GreaterOrEqual(long, long, string, string, Image)
Checks whether the first number specified is greater than or equal to the second for long values.
public static bool GreaterOrEqual(long arg1, long arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1longThe first value, expected to be the larger number.
arg2longThe second value, expected to be the smaller number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
GreaterOrEqual(float, float, string, string, Image)
Checks whether the first number specified is greater than or equal to the second for float values.
public static bool GreaterOrEqual(float arg1, float arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1floatThe first value, expected to be the larger number.
arg2floatThe second value, expected to be the smaller number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
GreaterOrEqual(uint, uint, string, string, Image)
Checks whether the first number specified is greater than or equal to the second for unsigned integer values.
public static bool GreaterOrEqual(uint arg1, uint arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1uintThe first value, expected to be the larger number.
arg2uintThe second value, expected to be the smaller number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
GreaterOrEqual(ulong, ulong, string, string, Image)
Checks whether the first number specified is greater than or equal to the second for unsigned long values.
public static bool GreaterOrEqual(ulong arg1, ulong arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1ulongThe first value, expected to be the larger number.
arg2ulongThe second value, expected to be the smaller number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
IsFalse(bool, string, string, Image)
Checks whether the specified condition is false.
public static bool IsFalse(bool condition, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
conditionboolThe condition to check.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
IsMatch(string, string, string, string, Image)
Checks whether the specified regular expression matches the specified string value.
public static bool IsMatch(string actual, string regexPattern, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
actualstringThe string to check.
regexPatternstringThe regular expression value to search for. Use standard C# regular expression syntax.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
IsNotNullOrEmpty(IEnumerable, string, string, Image)
Checks whether the provided collection is not null or empty.
public static bool IsNotNullOrEmpty(IEnumerable collection, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
collectionIEnumerableThe collection to check.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
IsNotNullOrEmpty(string, string, string, Image)
Checks whether the specified string is not null or empty.
public static bool IsNotNullOrEmpty(string aString, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
aStringstringThe string to check
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
IsNullOrEmpty(IEnumerable, string, string, Image)
Checks whether the provided collection is null or empty.
public static bool IsNullOrEmpty(IEnumerable collection, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
collectionIEnumerableThe collection to check.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
IsNullOrEmpty(string, string, string, Image)
Checks whether the specified string is null or empty.
public static bool IsNullOrEmpty(string aString, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
aStringstringThe string to check.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
IsTrue(bool, string, string, Image)
Checks whether the specified condition is true.
public static bool IsTrue(bool condition, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
conditionboolThe condition to check.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Less(decimal, decimal, string, string, Image)
Checks whether the first number specified is less than the second for decimal values.
public static bool Less(decimal arg1, decimal arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1decimalThe first value, expected to be the smaller number.
arg2decimalThe second value, expected to be the larger number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Less(double, double, string, string, Image)
Checks whether the first number specified is less than the second for double values.
public static bool Less(double arg1, double arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1doubleThe first value, expected to be the smaller number.
arg2doubleThe second value, expected to be the larger number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Less(IComparable, IComparable, string, string, Image)
Checks whether the first number specified is less than the second for IComparable values.
public static bool Less(IComparable arg1, IComparable arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1IComparableThe first value, expected to be the smaller number.
arg2IComparableThe second value, expected to be the larger number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Less(int, int, string, string, Image)
Checks whether the first number specified is less than the second for integer values.
public static bool Less(int arg1, int arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1intThe first value, expected to be the smaller number.
arg2intThe second value, expected to be the larger number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Less(long, long, string, string, Image)
Checks whether the first number specified is less than the second for long values.
public static bool Less(long arg1, long arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1longThe first value, expected to be the smaller number.
arg2longThe second value, expected to be the larger number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Less(float, float, string, string, Image)
Checks whether the first number specified is less than the second for float values.
public static bool Less(float arg1, float arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1floatThe first value, expected to be the smaller number.
arg2floatThe second value, expected to be the larger number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Less(uint, uint, string, string, Image)
Checks whether the first number specified is less than the second for unsigned integer values.
public static bool Less(uint arg1, uint arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1uintThe first value, expected to be the smaller number.
arg2uintThe second value, expected to be the larger number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
Less(ulong, ulong, string, string, Image)
Checks whether the first number specified is less than the second for unsigned long values.
public static bool Less(ulong arg1, ulong arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1ulongThe first value, expected to be the smaller number.
arg2ulongThe second value, expected to be the larger number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
LessOrEqual(decimal, decimal, string, string, Image)
Checks whether the first number specified is less than or equal to the second for decimal values.
public static bool LessOrEqual(decimal arg1, decimal arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1decimalThe first value, expected to be the smaller number.
arg2decimalThe second value, expected to be the larger number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
LessOrEqual(double, double, string, string, Image)
Checks whether the first number specified is less than or equal to the second for double values.
public static bool LessOrEqual(double arg1, double arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1doubleThe first value, expected to be the smaller number.
arg2doubleThe second value, expected to be the larger number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
LessOrEqual(IComparable, IComparable, string, string, Image)
Checks whether the first number specified is less than or equal to the second for IComparable values.
public static bool LessOrEqual(IComparable arg1, IComparable arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1IComparableThe first value, expected to be the smaller number.
arg2IComparableThe second value, expected to be the larger number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
LessOrEqual(int, int, string, string, Image)
Checks whether the first number specified is less than or equal to the second for integer values.
public static bool LessOrEqual(int arg1, int arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1intThe first value, expected to be the smaller number.
arg2intThe second value, expected to be the larger number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
LessOrEqual(long, long, string, string, Image)
Checks whether the first number specified is less than or equal to the second for long values.
public static bool LessOrEqual(long arg1, long arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1longThe first value, expected to be the smaller number.
arg2longThe second value, expected to be the larger number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
LessOrEqual(float, float, string, string, Image)
Checks whether the first number specified is less than or equal to the second for float values.
public static bool LessOrEqual(float arg1, float arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1floatThe first value, expected to be the smaller number.
arg2floatThe second value, expected to be the larger number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
LessOrEqual(uint, uint, string, string, Image)
Checks whether the first number specified is less than or equal to the second for unsigned integer values.
public static bool LessOrEqual(uint arg1, uint arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1uintThe first value, expected to be the smaller number.
arg2uintThe second value, expected to be the larger number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
LessOrEqual(ulong, ulong, string, string, Image)
Checks whether the first number specified is less than or equal to the second for unsigned long values.
public static bool LessOrEqual(ulong arg1, ulong arg2, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
arg1ulongThe first value, expected to be the smaller number.
arg2ulongThe second value, expected to be the larger number.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.
Returns
StartsWith(string, string, string, string, Image)
Checks whether the 'expected' string is the first part of the 'actual' string.
public static bool StartsWith(string prefix, string source, string verificationName = "Verification", string verificationDescription = null, Image verificationImage = null)
Parameters
prefixstringThe string to search for.
sourcestringThe string to check.
verificationNamestringThe verification title.
verificationDescriptionstringThe verification description.
verificationImageImageAn image related to the verification.