88
99class SwiftSchedulingTest {
1010 @ Test
11- @ DisplayName ("NOW at 9 AM " )
11+ @ DisplayName ("NOW translates to two hours later " )
1212 void testNowAtNineAm () {
1313 LocalDateTime meetingStart = LocalDateTime .parse ("2012-02-13T09:00:00" );
1414 LocalDateTime expected = LocalDateTime .parse ("2012-02-13T11:00:00" );
@@ -20,7 +20,7 @@ void testNowAtNineAm() {
2020
2121 @ Disabled ("Remove to run test" )
2222 @ Test
23- @ DisplayName ("ASAP before 1 PM " )
23+ @ DisplayName ("ASAP before one in the afternoon translates to today at five in the afternoon " )
2424 void testAsapBeforeOnePm () {
2525 LocalDateTime meetingStart = LocalDateTime .parse ("1999-06-03T09:45:00" );
2626 LocalDateTime expected = LocalDateTime .parse ("1999-06-03T17:00:00" );
@@ -32,7 +32,7 @@ void testAsapBeforeOnePm() {
3232
3333 @ Disabled ("Remove to run test" )
3434 @ Test
35- @ DisplayName ("ASAP at 1 PM " )
35+ @ DisplayName ("ASAP at one in the afternoon translates to tomorrow at one in the afternoon " )
3636 void testAsapAtOnePm () {
3737 LocalDateTime meetingStart = LocalDateTime .parse ("2008-12-21T13:00:00" );
3838 LocalDateTime expected = LocalDateTime .parse ("2008-12-22T13:00:00" );
@@ -44,7 +44,7 @@ void testAsapAtOnePm() {
4444
4545 @ Disabled ("Remove to run test" )
4646 @ Test
47- @ DisplayName ("ASAP after 1 PM " )
47+ @ DisplayName ("ASAP after one in the afternoon translates to tomorrow at one in the afternoon " )
4848 void testAsapAfterOnePm () {
4949 LocalDateTime meetingStart = LocalDateTime .parse ("2008-12-21T14:50:00" );
5050 LocalDateTime expected = LocalDateTime .parse ("2008-12-22T13:00:00" );
@@ -56,7 +56,7 @@ void testAsapAfterOnePm() {
5656
5757 @ Disabled ("Remove to run test" )
5858 @ Test
59- @ DisplayName ("EOW on Monday" )
59+ @ DisplayName ("EOW on Monday translates to Friday at five in the afternoon " )
6060 void testEowOnMonday () {
6161 LocalDateTime meetingStart = LocalDateTime .parse ("2025-02-03T16:00:00" );
6262 LocalDateTime expected = LocalDateTime .parse ("2025-02-07T17:00:00" );
@@ -68,7 +68,7 @@ void testEowOnMonday() {
6868
6969 @ Disabled ("Remove to run test" )
7070 @ Test
71- @ DisplayName ("EOW on Tuesday" )
71+ @ DisplayName ("EOW on Tuesday translates to Friday at five in the afternoon " )
7272 void testEowOnTuesday () {
7373 LocalDateTime meetingStart = LocalDateTime .parse ("1997-04-29T10:50:00" );
7474 LocalDateTime expected = LocalDateTime .parse ("1997-05-02T17:00:00" );
@@ -80,7 +80,7 @@ void testEowOnTuesday() {
8080
8181 @ Disabled ("Remove to run test" )
8282 @ Test
83- @ DisplayName ("EOW on Wednesday" )
83+ @ DisplayName ("EOW on Wednesday translates to Friday at five in the afternoon " )
8484 void testEowOnWednesday () {
8585 LocalDateTime meetingStart = LocalDateTime .parse ("2005-09-14T11:00:00" );
8686 LocalDateTime expected = LocalDateTime .parse ("2005-09-16T17:00:00" );
@@ -92,7 +92,7 @@ void testEowOnWednesday() {
9292
9393 @ Disabled ("Remove to run test" )
9494 @ Test
95- @ DisplayName ("EOW on Thursday" )
95+ @ DisplayName ("EOW on Thursday translates to Sunday at eight in the evening " )
9696 void testEowOnThursday () {
9797 LocalDateTime meetingStart = LocalDateTime .parse ("2011-05-19T08:30:00" );
9898 LocalDateTime expected = LocalDateTime .parse ("2011-05-22T20:00:00" );
@@ -104,7 +104,7 @@ void testEowOnThursday() {
104104
105105 @ Disabled ("Remove to run test" )
106106 @ Test
107- @ DisplayName ("EOW on Friday" )
107+ @ DisplayName ("EOW on Friday translates to Sunday at eight in the evening " )
108108 void testEowOnFriday () {
109109 LocalDateTime meetingStart = LocalDateTime .parse ("2022-08-05T14:00:00" );
110110 LocalDateTime expected = LocalDateTime .parse ("2022-08-07T20:00:00" );
@@ -116,7 +116,7 @@ void testEowOnFriday() {
116116
117117 @ Disabled ("Remove to run test" )
118118 @ Test
119- @ DisplayName ("EOW in leap year " )
119+ @ DisplayName ("EOW translates to leap day " )
120120 void testEowDuringLeapYear () {
121121 LocalDateTime meetingStart = LocalDateTime .parse ("2008-02-25T10:30:00" );
122122 LocalDateTime expected = LocalDateTime .parse ("2008-02-29T17:00:00" );
@@ -128,7 +128,7 @@ void testEowDuringLeapYear() {
128128
129129 @ Disabled ("Remove to run test" )
130130 @ Test
131- @ DisplayName ("2M in January " )
131+ @ DisplayName ("2M before the second month of this year translates to the first workday of the second month of this year " )
132132 void test2MInJanuary () {
133133 LocalDateTime meetingStart = LocalDateTime .parse ("2007-01-02T14:15:00" );
134134 LocalDateTime expected = LocalDateTime .parse ("2007-02-01T08:00:00" );
@@ -140,7 +140,7 @@ void test2MInJanuary() {
140140
141141 @ Disabled ("Remove to run test" )
142142 @ Test
143- @ DisplayName ("11M in November " )
143+ @ DisplayName ("11M in the eleventh month translates to the first workday of the eleventh month of next year " )
144144 void test11MInNovember () {
145145 LocalDateTime meetingStart = LocalDateTime .parse ("2013-11-21T15:30:00" );
146146 LocalDateTime expected = LocalDateTime .parse ("2014-11-03T08:00:00" );
@@ -152,7 +152,7 @@ void test11MInNovember() {
152152
153153 @ Disabled ("Remove to run test" )
154154 @ Test
155- @ DisplayName ("4M in November " )
155+ @ DisplayName ("4M in the ninth month translates to the first workday of the fourth month of next year " )
156156 void test4MInNovember () {
157157 LocalDateTime meetingStart = LocalDateTime .parse ("2019-11-18T15:15:00" );
158158 LocalDateTime expected = LocalDateTime .parse ("2020-04-01T08:00:00" );
@@ -164,7 +164,7 @@ void test4MInNovember() {
164164
165165 @ Disabled ("Remove to run test" )
166166 @ Test
167- @ DisplayName ("Q1 in Q1 " )
167+ @ DisplayName ("Q1 in the first quarter translates to the last workday of the first quarter of this year " )
168168 void testQ1InQ1 () {
169169 LocalDateTime meetingStart = LocalDateTime .parse ("2003-01-01T10:45:00" );
170170 LocalDateTime expected = LocalDateTime .parse ("2003-03-31T08:00:00" );
@@ -176,7 +176,7 @@ void testQ1InQ1() {
176176
177177 @ Disabled ("Remove to run test" )
178178 @ Test
179- @ DisplayName ("Q4 in Q2 " )
179+ @ DisplayName ("Q4 in the second quarter translates to the last workday of the fourth quarter of this year " )
180180 void testQ4InQ2 () {
181181 LocalDateTime meetingStart = LocalDateTime .parse ("2001-04-09T09:00:00" );
182182 LocalDateTime expected = LocalDateTime .parse ("2001-12-31T08:00:00" );
@@ -188,7 +188,7 @@ void testQ4InQ2() {
188188
189189 @ Disabled ("Remove to run test" )
190190 @ Test
191- @ DisplayName ("Q3 in Q4 " )
191+ @ DisplayName ("Q3 in the fourth quarter translates to the last workday of the third quarter of next year " )
192192 void testQ3InQ4 () {
193193 LocalDateTime meetingStart = LocalDateTime .parse ("2022-10-06T11:00:00" );
194194 LocalDateTime expected = LocalDateTime .parse ("2023-09-29T08:00:00" );
0 commit comments