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