|
@@ -2,13 +2,13 @@ using ExcelInfo;
|
|
|
|
|
|
namespace ExcelInfoTests;
|
|
namespace ExcelInfoTests;
|
|
|
|
|
|
-public class WorksheetInfoTests
|
|
|
|
|
|
+public class WorkbookInfoTests
|
|
{
|
|
{
|
|
private const string DifferentTypesFile = "testFiles/differentTypes.xlsx";
|
|
private const string DifferentTypesFile = "testFiles/differentTypes.xlsx";
|
|
[Fact]
|
|
[Fact]
|
|
public void GetInfoOnWorksheets()
|
|
public void GetInfoOnWorksheets()
|
|
{
|
|
{
|
|
- var result = WorksheetInfo.GetInfoOnWorksheets(DifferentTypesFile).ToList();
|
|
|
|
|
|
+ var result = WorkbookInfo.GetInfoOnWorksheets(DifferentTypesFile).ToList();
|
|
Assert.Equal(2, result.Count());
|
|
Assert.Equal(2, result.Count());
|
|
Assert.NotEqual(result.First(), result.Last());
|
|
Assert.NotEqual(result.First(), result.Last());
|
|
Assert.NotEqual(result.First().Columns, result.Last().Columns);
|
|
Assert.NotEqual(result.First().Columns, result.Last().Columns);
|