public void Should_Render_Matrix_With_Cells_Lookup_On_A_Single_Matrix() { // GIVEN var mat = MatrixDatasets.Given_MatrixWithCellLookup(1, null); // WHEN var filename = TestUtils.WriteDebugFile(mat, "closedxml_lookup1", streamsToClose: _fileStreamToClose); _fileStreamToClose.First().Close(); // THEN SharedAssertions.Assert_Matrix_Cells_Lookup_On_A_Single_Matrix(filename); }
public void Should_Render_Matrix_With_Cells_Lookup_On_A_Single_Matrix() { // GIVEN var finalTotalStyle = _workbook.CreateCellStyle(); finalTotalStyle.FillPattern = FillPattern.SolidForeground; finalTotalStyle.FillForegroundColor = IndexedColors.LightOrange.Index; var format = new NPOIFormat { CellStyle = finalTotalStyle }; Matrix m1 = MatrixDatasets.Given_MatrixWithCellLookup(1, format); // WHEN var filename = WriteDebugFile(_defaultFormatApplier, m1, FILE_TEST_LOOKUP_1, _workbook); // THEN SharedAssertions.Assert_Matrix_Cells_Lookup_On_A_Single_Matrix(filename); }