예제 #1
0
        public void IfCompressTmpFilesIsSetToFalseShouldReturnSheetDataWriter()
        {
            _objectToTest = new SXSSFWorkbook();
            var result = _objectToTest.CreateSheetDataWriter();

            Assert.IsTrue(result is SheetDataWriter);
        }
예제 #2
0
        public void IfCompressTmpFilesIsSetToTrueShouldReturnGZIPSheetDataWriter()
        {
            _objectToTest = new SXSSFWorkbook(null, 100, true);
            var result = _objectToTest.CreateSheetDataWriter();

            Assert.IsTrue(result is GZIPSheetDataWriter);
        }