This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public static class StreamHelpers | |
{ | |
//http://stackoverflow.com/questions/968935/c-sharp-binary-file-compare | |
/// <summary> | |
/// Compares two streams, returns true if equal. | |
/// </summary> | |
/// <param name="expectedStream"></param> | |
/// <param name="actualStream"></param> | |
/// <returns></returns> | |
public static bool AssertEquals(this Stream expectedStream, Stream actualStream, string errorMessage) |