public void IsBinary_xlsExtensionLowercase_ReturnsTrue() { string filename = "file.xls"; const bool expected = true; bool result = ExcelFileType.IsBinary(filename); result.Should().Be(expected); }
public void IsBinary_NonExcelExtension_ReturnsFalse() { string filename = "file.txt"; const bool expected = false; bool result = ExcelFileType.IsBinary(filename); result.Should().Be(expected); }
public void IsBinary_xlsxExtensionUppercase_ReturnsFalse() { string filename = "file.XLSX"; const bool expected = false; bool result = ExcelFileType.IsBinary(filename); result.Should().Be(expected); }
public void IsBinary_EmptyString_ReturnsFalse() { string filename = string.Empty; const bool expected = false; bool result = ExcelFileType.IsBinary(filename); result.Should().Be(expected); }