public void When_getting_last_block_start_time_it_should_succeed() { var time = new BlockStartTime(new[] { "07:45", "08:40", "09:45", "10:45", "11:50", "12:45" }); var t = time.For(5); Assert.AreEqual("12:45:00", t.ToString()); }
public void Determining_block_duration_from_double_block_should_succeed() { var time = new BlockStartTime(new[] { "08:00:00", "10:00:00", "12:00:00", "13:45:00" }); Assert.AreEqual("DoubleBlock", time.BlockType); }
public void Determining_block_duration_from_regular_block_should_succeed() { var time = new BlockStartTime(new[] { "07:45", "08:40", "09:45", "10:45", "11:50", "12:45" }); Assert.AreEqual("RegularBlock", time.BlockType); }