public void FilesEqual() { Assert.ThrowsExact <ArgumentNullException>(() => Assert.FilesEqual(null as string, EqualCompareFile2)); Assert.ThrowsExact <ArgumentNullException>(() => Assert.FilesEqual(null as string, EqualCompareFileInfo2)); Assert.ThrowsExact <ArgumentNullException>(() => Assert.FilesEqual(null as FileInfo, EqualCompareFile2)); Assert.ThrowsExact <ArgumentNullException>(() => Assert.FilesEqual(null as FileInfo, EqualCompareFileInfo2)); Assert.ThrowsExact <ArgumentNullException>(() => Assert.FilesEqual(EqualCompareFile1, null as string)); Assert.ThrowsExact <ArgumentNullException>(() => Assert.FilesEqual(EqualCompareFile1, null as FileInfo)); Assert.ThrowsExact <ArgumentNullException>(() => Assert.FilesEqual(EqualCompareFileInfo1, null as string)); Assert.ThrowsExact <ArgumentNullException>(() => Assert.FilesEqual(EqualCompareFileInfo1, null as FileInfo)); Assert.ThrowsExact <ArgumentException>(() => Assert.FilesEqual(string.Empty, EqualCompareFile2)); Assert.ThrowsExact <ArgumentException>(() => Assert.FilesEqual(EqualCompareFile1, string.Empty)); Assert.ThrowsExact <ArgumentException>(() => Assert.FilesEqual(NonExistingFile, ExistingFile)); Assert.ThrowsExact <ArgumentException>(() => Assert.FilesEqual(NonExistingFileInfo, ExistingFile)); Assert.ThrowsExact <ArgumentException>(() => Assert.FilesEqual(NonExistingFile, ExistingFileInfo)); Assert.ThrowsExact <ArgumentException>(() => Assert.FilesEqual(NonExistingFileInfo, ExistingFileInfo)); Assert.ThrowsExact <ArgumentException>(() => Assert.FilesEqual(ExistingFile, NonExistingFile)); Assert.ThrowsExact <ArgumentException>(() => Assert.FilesEqual(ExistingFile, NonExistingFileInfo)); Assert.ThrowsExact <ArgumentException>(() => Assert.FilesEqual(ExistingFileInfo, NonExistingFile)); Assert.ThrowsExact <ArgumentException>(() => Assert.FilesEqual(ExistingFileInfo, NonExistingFileInfo)); Assert.DoesNotThrow(() => Assert.FilesEqual(EqualCompareFile1, EqualCompareFile1)); Assert.DoesNotThrow(() => Assert.FilesEqual(EqualCompareFile1, EqualCompareFileInfo1)); Assert.DoesNotThrow(() => Assert.FilesEqual(EqualCompareFileInfo1, EqualCompareFile1)); Assert.DoesNotThrow(() => Assert.FilesEqual(EqualCompareFileInfo1, EqualCompareFileInfo1)); Assert.DoesNotThrow(() => Assert.FilesEqual(EqualCompareFile1, EqualCompareFile2)); Assert.DoesNotThrow(() => Assert.FilesEqual(EqualCompareFileInfo1, EqualCompareFileInfo2)); Assert.DoesNotThrow(() => Assert.FilesEqual(EqualCompareFile1, EqualCompareFileInfo2)); Assert.DoesNotThrow(() => Assert.FilesEqual(EqualCompareFileInfo1, EqualCompareFile2)); Assert.ThrowsExact <AssertionException>(() => Assert.FilesEqual(EqualCompareFile1, NotEqualCompareFileLength)); Assert.ThrowsExact <AssertionException>(() => Assert.FilesEqual(EqualCompareFile1, NotEqualCompareFileLengthInfo)); Assert.ThrowsExact <AssertionException>(() => Assert.FilesEqual(EqualCompareFileInfo1, NotEqualCompareFileLength)); Assert.ThrowsExact <AssertionException>(() => Assert.FilesEqual(EqualCompareFileInfo1, NotEqualCompareFileLengthInfo)); Assert.ThrowsExact <AssertionException>(() => Assert.FilesEqual(EqualCompareFile1, NotEqualCompareFileData)); Assert.ThrowsExact <AssertionException>(() => Assert.FilesEqual(EqualCompareFile1, NotEqualCompareFileDataInfo)); Assert.ThrowsExact <AssertionException>(() => Assert.FilesEqual(EqualCompareFileInfo1, NotEqualCompareFileData)); Assert.ThrowsExact <AssertionException>(() => Assert.FilesEqual(EqualCompareFileInfo1, NotEqualCompareFileDataInfo)); }