public void SetupTest() { TimeBlock timeBlock1 = new TimeBlock(); timeBlock1.Setup(TimeSpec.MinPeriodDate, TimeSpec.MinPeriodDate); Assert.Equal(timeBlock1.Start, TimeSpec.MinPeriodDate); Assert.Equal(timeBlock1.End, TimeSpec.MinPeriodDate); TimeBlock timeBlock2 = new TimeBlock(); timeBlock2.Setup(TimeSpec.MinPeriodDate, TimeSpec.MaxPeriodDate); Assert.Equal(timeBlock2.Start, TimeSpec.MinPeriodDate); Assert.Equal(timeBlock2.End, TimeSpec.MaxPeriodDate); TimeBlock timeBlock3 = new TimeBlock(); timeBlock3.Setup(TimeSpec.MaxPeriodDate, TimeSpec.MinPeriodDate); Assert.Equal(timeBlock3.Start, TimeSpec.MinPeriodDate); Assert.Equal(timeBlock3.End, TimeSpec.MaxPeriodDate); } // SetupTest