Verifies that the value of the property described by pi is the same
in both ojects.
Namespace: MbUnit.Framework
Assembly: MbUnit.Framework (in MbUnit.Framework.dll)
Syntax
| C# | Visual Basic | Visual C++ |
public static void AreValueEqual( PropertyInfo pi, Object expected, Object actual, Object[] indices )
Public Shared Sub AreValueEqual ( _ pi As PropertyInfo, _ expected As Object, _ actual As Object, _ indices As Object() _ )
public: static void AreValueEqual( PropertyInfo^ pi, Object^ expected, Object^ actual, array<Object^>^ indices )
Parameters
- pi
- PropertyInfo
Property describing the value to test
- expected
- Object
Reference object
- actual
- Object
Actual object
- indices
- array<Object>[]()[]
Index of the property.
See Also
Assert Class
MbUnit.Framework Namespace