Exemplo n.º 1
0
        public void TestModifyXls()
        {
            var file = new SimpleExcelFile("TestSettings/TestExcel.xls");

            file.Save("TestSettings/TestExcelSave.xls");
            Assert.True(File.Exists("TestSettings/TestExcelSave.xls"));
        }
Exemplo n.º 2
0
        public void TestModifyXlsx()
        {
            var file = new SimpleExcelFile("TestSettings/TestExcel2.xlsx");

            file.Save("TestSettings/TestExcel2Save.xlsx");
            Assert.True(File.Exists("TestSettings/TestExcel2Save.xlsx"));
//			File.Delete("TestSettings/TestExcel2Save.xlsx"); // TODO: Save NPOI xlsx cannot open
        }