Пример #1
0
        public override bool Equals(Object obj)
        {
            if (this == obj)
            {
                return(true);
            }

            if (!(obj is RangeValueDouble))
            {
                return(false);
            }

            RangeValueDouble other = (RangeValueDouble)obj;

            return(other._doubleValue == this._doubleValue);
        }
Пример #2
0
 public void SetUp()
 {
     _params[0] = new RangeValueDouble(5.5);
     _params[1] = new RangeValueDouble(0);
     _params[2] = new RangeValueDouble(5.5);
 }