public void ShouldBeContain24Slots() { Assert.AreEqual(TimePeriods.GetTimePeriod().Count, 24); }
public void ShouldBeContainSlot01AndSlot24() { Assert.AreEqual(TimePeriods.GetTimePeriod()[0], "0h - 1h"); Assert.AreEqual(TimePeriods.GetTimePeriod()[23], "23h - 24h"); }
public IActionResult Times() { return(Ok(TimePeriods.GetTimePeriod())); }