예제 #1
0
        public void SetUp()
        {
            _values    = new List <DateTime?>();
            _value     = new DateTime(2001, 01, 01);
            _size      = 0d;
            _lowerSize = 0d;
            _upperSize = 1d;

            _sizeMap = new FakeSizeMap(SortOrder.Ascending, _size, _value);

            _factory = new DateTimeSizeLegendFactory();
        }
        public void SetUp()
        {
            _values    = new List <string>();
            _value     = "A";
            _size      = 0d;
            _lowerSize = 0d;
            _upperSize = 1d;

            _sizeMap = new FakeSizeMap(SortOrder.Ascending, _size, _value);

            _factory = new StringSizeLegendFactory();
        }
예제 #3
0
        public void SetUp()
        {
            _values    = new List <double?>();
            _value     = 1d;
            _size      = 0d;
            _lowerSize = 0d;
            _upperSize = 1d;

            _sizeMap = new FakeSizeMap(SortOrder.Ascending, _size, _value);

            _factory = new FloatSizeLegendFactory();
        }
 public void TestCreateShouldCreateDescendingDiscreteItems()
 {
     _sizeMap = new FakeSizeMap(SortOrder.Descending);
     AssertResult(3, 3);
 }