浏览代码

Better test

Piotr Czajkowski 5 月之前
父节点
当前提交
8e607f663a
共有 1 个文件被更改,包括 3 次插入0 次删除
  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);
     }