public void FillColorStyler_WithExcludeColor_ReturnsInputText() { var colorStyler = new FillColorStyler(); Assert.That(colorStyler.Colorize(Color.White, "text"), Is.EqualTo("text")); }
private string ColorizeCellBackground(Cell cell, string value) { ColorStyler colorStyler = new FillColorStyler(); return(colorStyler.Colorize(cell.FillColor, value)); }
public void FillColorStyler_WithRgbValues_ReturnsCellColorCommand() { var colorStyler = new FillColorStyler(); Assert.That(colorStyler.Colorize(Color.Red, "text"), Is.EqualTo(@"\cellcolor[rgb]{1,0,0}{text}")); }