public void SetUp()
        {
            _values  = new List <int?>();
            _color1  = new Color(255, 0, 0);
            _palette = new ColorPaletteBuilder().Build();

            _colorMap = new FakeColorMap(SortOrder.Ascending, _color1, 0);

            _factory = new IntegerColorLegendFactory();
        }
        public void SetUp()
        {
            _values  = new List <string>();
            _color1  = new Color(255, 0, 0);
            _palette = new ColorPaletteBuilder().Build();

            _colorMap = new FakeColorMap(SortOrder.Ascending, _color1, string.Empty);

            _factory = new StringColorLegendFactory();
        }
 public void TestCreateShouldCreateDiscreteItemsInDescendingOrder()
 {
     _colorMap = new FakeColorMap(SortOrder.Descending, _color1, 0);
     AssertResult(16, 8, 8);
 }