Exemplo n.º 1
0
 internal RasterInterval(GridColorBreak colorBreak)
 {
     _colorBreak = colorBreak;
     if (colorBreak == null)
     {
         throw new NullReferenceException("Internal reference is null");
     }
 }
        public void ColorPickerConstructorTest1()
        {
            GridColorBreak Break         = null; // TODO: Initialize to an appropriate value
            GridColorBreak BreakExpected = null; // TODO: Initialize to an appropriate value
            ColorPicker    target        = new ColorPicker(ref Break);

            Assert.AreEqual(BreakExpected, Break);
            Assert.Inconclusive("TODO: Implement code to verify target");
        }
        public void DrawBreakTest1()
        {
            ColoringSchemeViewer_Accessor target = new ColoringSchemeViewer_Accessor(); // TODO: Initialize to an appropriate value
            GridColorBreak brk      = null;                                             // TODO: Initialize to an appropriate value
            Rectangle      rect     = new Rectangle();                                  // TODO: Initialize to an appropriate value
            Graphics       g        = null;                                             // TODO: Initialize to an appropriate value
            bool           FillRect = false;                                            // TODO: Initialize to an appropriate value

            target.DrawBreak(brk, rect, g, FillRect);
            Assert.Inconclusive("A method that does not return a value cannot be verified.");
        }
Exemplo n.º 4
0
 /// <summary>
 /// Adds a break to the color scheme.
 /// </summary>
 /// <param name="BrkInfo">The grid color break.</param>
 public void InsertBreak(GridColorBreak BrkInfo)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 5
0
 /// <summary>
 /// Inserts a break at the specified position of the color scheme.
 /// </summary>
 /// <param name="Position">The position to insert the break at.</param>
 /// <param name="Break">The grid color break.</param>
 public void InsertAt(int Position, GridColorBreak Break)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 6
0
 public RasterInterval()
 {
     _colorBreak = new GridColorBreak();
 }