Clear() public method

public Clear ( ) : void
return void
        public void Clear_WhenFromAndToHasValue_IsCompleteReturnsFalse()
        {
            var interval = new StructureIdInterval();
            interval.Set(StructureId.Create(1));
            interval.Set(StructureId.Create(2));

            interval.Clear();

            Assert.IsFalse(interval.IsComplete);
        }
        public void Clear_WhenFromAndToHasValue_BothBecomesNull()
        {
            var interval = new StructureIdInterval();
            interval.Set(StructureId.Create(1));
            interval.Set(StructureId.Create(2));

            interval.Clear();

            Assert.IsNull(interval.From);
            Assert.IsNull(interval.To);
        }