diff --git a/exercises/practice/swift-scheduling/.meta/tests.toml b/exercises/practice/swift-scheduling/.meta/tests.toml index 7cc3e41..f2475c9 100644 --- a/exercises/practice/swift-scheduling/.meta/tests.toml +++ b/exercises/practice/swift-scheduling/.meta/tests.toml @@ -56,3 +56,6 @@ description = "Q4 in the second quarter translates to the last workday of the fo [c920886c-44ad-4d34-a156-dc4176186581] description = "Q3 in the fourth quarter translates to the last workday of the third quarter of next year" + +[7c8f1616-be62-417e-bbd5-a60fa743eccc] +description = "Q2 starting in the last month of the second quarter translates to the last workday of the second quarter of this year" diff --git a/exercises/practice/swift-scheduling/create_test_table.sql b/exercises/practice/swift-scheduling/create_test_table.sql index d2f11bb..a81f126 100644 --- a/exercises/practice/swift-scheduling/create_test_table.sql +++ b/exercises/practice/swift-scheduling/create_test_table.sql @@ -136,4 +136,11 @@ VALUES '2022-10-06T11:00:00', 'Q3', '2023-09-29T08:00:00' + ), + ( + '7c8f1616-be62-417e-bbd5-a60fa743eccc', + 'Q2 starting in the last month of the second quarter translates to the last workday of the second quarter of this year', + '2019-06-15T09:50:00', + 'Q2', + '2019-06-28T08:00:00' ); diff --git a/exercises/practice/swift-scheduling/data.csv b/exercises/practice/swift-scheduling/data.csv index 8e3db9a..7bdc963 100644 --- a/exercises/practice/swift-scheduling/data.csv +++ b/exercises/practice/swift-scheduling/data.csv @@ -14,3 +14,4 @@ "2003-01-01T10:45:00","Q1","" "2001-04-09T09:00:00","Q4","" "2022-10-06T11:00:00","Q3","" +"2019-06-15T09:50:00","Q2",""