public void HoursAgo(int hours, string expected) { DateHumanize.Verify(expected, hours, TimeUnit.Hour, Tense.Past); }
public void HoursFromNow(int hours, string expected) { DateHumanize.Verify(expected, hours, TimeUnit.Hour, Tense.Future); }
public void RomanianTranslationIsCorrectForThreeHoursAgo() { DateHumanize.Verify("acum 3 ore", 3, TimeUnit.Hour, Tense.Past); }
public void DaysFromNow(int days, string expected) { DateHumanize.Verify(expected, days, TimeUnit.Day, Tense.Future); }
public void SecondsFromNow(int seconds, string expected) { DateHumanize.Verify(expected, seconds, TimeUnit.Second, Tense.Future); }
public void YearsFromNow(int years, string expected) { DateHumanize.Verify(expected, years, TimeUnit.Year, Tense.Future); }
public void RomanianTranslationIsCorrectFor10DaysAgo() { DateHumanize.Verify("acum 10 zile", 10, TimeUnit.Day, Tense.Past); }
public void MinutesFromNow(int minutes, string expected) { DateHumanize.Verify(expected, minutes, TimeUnit.Minute, Tense.Future); }
public void RomanianTranslationIsCorrectFor44MinutesAgo() { DateHumanize.Verify("acum 44 de minute", 44, TimeUnit.Minute, Tense.Past); }
public void RomanianTranslationIsCorrectFor59SecondsAgo() { DateHumanize.Verify("acum 59 de secunde", 59, TimeUnit.Second, Tense.Past); }
public void RomanianTranslationIsCorrectFor60MinutesAgo() { DateHumanize.Verify("acum o oră", 60, TimeUnit.Minute, Tense.Past); }
public void RomanianTranslationIsCorrectFor19MinutesAgo() { DateHumanize.Verify("acum 19 minute", 19, TimeUnit.Minute, Tense.Past); }
public void RomanianTranslationIsCorrectFor20HoursAgo() { DateHumanize.Verify("acum 20 de ore", 20, TimeUnit.Hour, Tense.Past); }
public void MonthsFromNow(int months, string expected) { DateHumanize.Verify(expected, months, TimeUnit.Month, Tense.Future); }
public void RomanianTranslationIsCorrectFor23DaysAgo() { DateHumanize.Verify("acum 23 de zile", 23, TimeUnit.Day, Tense.Past); }
public void MinutesAgo(int minutes, string expected) { DateHumanize.Verify(expected, minutes, TimeUnit.Minute, Tense.Past); }
public void RomanianTranslationIsCorrectFor100YearsAgo() { DateHumanize.Verify("acum 100 de ani", 100, TimeUnit.Year, Tense.Past); }
public void SecondsAgo(int seconds, string expected) { DateHumanize.Verify(expected, seconds, TimeUnit.Second, Tense.Past); }
public void Now() { DateHumanize.Verify("sada", 0, TimeUnit.Year, Tense.Future); }
public void YearsAgo(int years, string expected) { DateHumanize.Verify(expected, years, TimeUnit.Year, Tense.Past); }
public void DaysAgo(int days, string expected) { DateHumanize.Verify(expected, days, TimeUnit.Day, Tense.Past); }
public void MonthsAgo(int months, string expected) { DateHumanize.Verify(expected, months, TimeUnit.Month, Tense.Past); }
public void Now() { DateHumanize.Verify("зараз", 0, TimeUnit.Day, Tense.Past); }