public void ConstructorTimeTest() { HourRange hourRange = new HourRange( new Time( 1, 30 ), new Time( 2, 45 ) ); Assert.AreEqual( hourRange.Start, new Time( 1, 30 ) ); Assert.AreEqual( hourRange.End, new Time( 2, 45 ) ); }
public void ConstructorHourTest() { HourRange hourRange = new HourRange( 1 ); Assert.AreEqual( hourRange.Start, new Time( 1 ) ); Assert.AreEqual( hourRange.End, new Time( 1 ) ); }
public void IsNotMomentTest() { HourRange hourRange = new HourRange( new Time( 2, 45, 33, 876 ), new Time( 2, 45, 33, 877 ) ); Assert.IsFalse( hourRange.IsMoment ); }