NUnit - FileAssert

## FileAssert (NUnit 2.4)

The FileAssert class provides methods for comparing two files, which may be provided as Streams, as FileInfos or as strings giving the path to each file.

    FileAssert.AreEqual( Stream expected, Stream actual );
    FileAssert.AreEqual( Stream expected, Stream actual,
                    string message );
    FileAssert.AreEqual( Stream expected, Stream actual,
                    string message, params object[] args );

    FileAssert.AreEqual( FileInfo expected, FileInfo actual );
    FileAssert.AreEqual( FileInfo expected, FileInfo actual,
                    string message );
    FileAssert.AreEqual( FileInfo expected, FileInfo actual,
                    string message, params object[] args );

    FileAssert.AreEqual( string expected, string actual );
    FileAssert.AreEqual( string expected, string actual,
                    string message );
    FileAssert.AreEqual( string expected, string actual,
                    string message, params object[] args );

    FileAssert.AreNotEqual( Stream expected, Stream actual );
    FileAssert.AreNotEqual( Stream expected, Stream actual,
                    string message );
    FileAssert.AreNotEqual( Stream expected, Stream actual,
                    string message, params object[] args );

    FileAssert.AreNotEqual( FileInfo expected, FileInfo actual );
    FileAssert.AreNotEqual( FileInfo expected, FileInfo actual,
                    string message );
    FileAssert.AreNotEqual( FileInfo expected, FileInfo actual,
                    string message, params object[] args );

    FileAssert.AreNotEqual( string expected, string actual );
    FileAssert.AreNotEqual( string expected, string actual,
                    string message );
    FileAssert.AreNotEqual( string expected, string actual,
                    string message, params object[] args );