public void getTimeWordMinutes() { PostIt post = new PostIt(new DateTime(2020, 2, 10, 10, 50, 0)); Assert.Equal(post.getTimeWord(0), "min"); }
public void getTimeWordYear() { PostIt post = new PostIt(new DateTime(2020, 2, 10, 10, 50, 0)); Assert.Equal(post.getTimeWord(525600), "year"); }
public void getTimeWordMonth() { PostIt post = new PostIt(new DateTime(2020, 2, 10, 10, 50, 0)); Assert.Equal(post.getTimeWord(43800), "month"); }
public void getTimeWordWeek() { PostIt post = new PostIt(new DateTime(2020, 2, 10, 10, 50, 0)); Assert.Equal(post.getTimeWord(10080), "week"); }
public void getTimeWordDay() { PostIt post = new PostIt(new DateTime(2020, 2, 10, 10, 50, 0)); Assert.Equal(post.getTimeWord(1440), "day"); }
public void getTimeWordHour() { PostIt post = new PostIt(new DateTime(2020, 2, 10, 10, 50, 0)); Assert.Equal(post.getTimeWord(60), "hour"); }