public void GetTime_ReturnsHalfPastAfter4() { var fourOclockInWords = ClockApi.GetTimeAsWords(4, 30); Assert.AreEqual("It is Half past Four.", fourOclockInWords); }
public void GetTime_ReturnsTwentyFiveMinutesPastFour() { var fourOclockInWords = ClockApi.GetTimeAsWords(4, 25); Assert.AreEqual("It is Twenty-Five minutes past Four.", fourOclockInWords); }
public void GetTime_ReturnsTwentyMinutesToNine() { var twentyMinutesToNine = ClockApi.GetTimeAsWords(8, 40); Assert.AreEqual("It is Twenty minutes to Nine.", twentyMinutesToNine); }
public void GetTime_ReturnsQuarterAfter4() { var fourOclockInWords = ClockApi.GetTimeAsWords(4, 15); Assert.AreEqual("It is Quarter past Four.", fourOclockInWords); }
public void GetTime_ReturnsTwoMinutestoEleven() { var twoMinutestoEleven = ClockApi.GetTimeAsWords(10, 58); Assert.AreEqual("It is Two minutes to Eleven.", twoMinutestoEleven); }
public void GetTime_ReturnsTwentyMinutesPastEight() { var twentyMinutesPastEight = ClockApi.GetTimeAsWords(8, 20); Assert.AreEqual("It is Twenty minutes past Eight.", twentyMinutesPastEight); }
public void GetTime_ReturnsOneMinuteToTwelve_inTwentyFourHourTime() { var OneMinuteToTwelve = ClockApi.GetTimeAsWords(11, 59); Assert.AreEqual("It is One minute to Twelve.", OneMinuteToTwelve); }
public void GetTime_ReturnsTentoOne() { var tentoOneInWords = ClockApi.GetTimeAsWords(12, 50); Assert.AreEqual("It is Ten minutes to One.", tentoOneInWords); }
public void GetTime_ReturnsNineteenAfter11_InTwentyFourHourTime() { var nineteenMinutesPastEleven = ClockApi.GetTimeAsWords(23, 19); Assert.AreEqual("It is Nineteen minutes past Eleven.", nineteenMinutesPastEleven); }
public void GetTime_ReturnsTwelveOclock_inTwentyFourHourTime() { var twelveoclock = ClockApi.GetTimeAsWords(00, 00); Assert.AreEqual("It is Twelve o'clock.", twelveoclock); }
public void GetTime_ReturnsTwelveAfter11_InTwentyFourHourTime() { var twelveMinutesPastEleven = ClockApi.GetTimeAsWords(23, 12); Assert.AreEqual("It is Twelve minutes past Eleven.", twelveMinutesPastEleven); }
public void GetTime_ReturnsOneMinutePastEleven_InTwentyFourHourTime() { var oneMinutePastEleven = ClockApi.GetTimeAsWords(23, 01); Assert.AreEqual("It is One minute past Eleven.", oneMinutePastEleven); }
public void GetTime_ReturnsOneMinutePastEleven() { var oneMinutePastEleven = ClockApi.GetTimeAsWords(11, 01); Assert.AreEqual("It is One minute past Eleven.", oneMinutePastEleven); }
public void GetTime_ReturnsTenMinutestoFive() { var tenMinutesUntilFiveInWords = ClockApi.GetTimeAsWords(4, 50); Assert.AreEqual("It is Ten minutes to Five.", tenMinutesUntilFiveInWords); }
public void GetTime_ReturnsTwentyNineMinutesToEight() { var twentyNineMinutesToEight = ClockApi.GetTimeAsWords(7, 31); Assert.AreEqual("It is Twenty-Nine minutes to Eight.", twentyNineMinutesToEight); }
public void GetTime_ReturnsTwelveOclock() { var twelveOClockInWords = ClockApi.GetTimeAsWords(12, 00); Assert.AreEqual("It is Twelve o'clock.", twelveOClockInWords); }
public void GetTime_Returns4Oclock() { var fourOclockInWords = ClockApi.GetTimeAsWords(4, 00); Assert.AreEqual("It is Four o'clock.", fourOclockInWords); }
public void GetTime_ReturnsQuartertoTwo() { var quartertoTwoInWords = ClockApi.GetTimeAsWords(1, 45); Assert.AreEqual("It is Quarter to Two.", quartertoTwoInWords); }
public void GetTime_Returns3Oclock() { var threeOclockInWords = ClockApi.GetTimeAsWords(3, 00); Assert.AreEqual("It is Three o'clock.", threeOclockInWords); }