Browse Source

Better test

Piotr Czajkowski 5 months ago
parent
commit
8e607f663a
1 changed files with 3 additions and 0 deletions
  1. 3 0
      ExcelORM/ExcelORMTests/WriterTests.cs

+ 3 - 0
ExcelORM/ExcelORMTests/WriterTests.cs

@@ -82,6 +82,9 @@ public class WriterTests
         var readArray = reader.Read<Test>().ToArray();
         Assert.Equal(6, readArray.Length);
 
+        for (int i = 0; i < arrayOfThree.Length; i++)
+            Assert.Equal(arrayOfThree[i], readArray[i+3]);
+
         File.Delete(testFile);
     }