From 9dfc683dca8ca85183b97f03c1267f8d7a708f77 Mon Sep 17 00:00:00 2001 From: Isaac Good Date: Sat, 29 Aug 2026 10:50:16 -0700 Subject: [PATCH] [swift-scheduling] Sync new test cases --- exercises/practice/swift-scheduling/.meta/tests.toml | 3 +++ exercises/practice/swift-scheduling/create_test_table.sql | 7 +++++++ exercises/practice/swift-scheduling/data.csv | 1 + 3 files changed, 11 insertions(+) diff --git a/exercises/practice/swift-scheduling/.meta/tests.toml b/exercises/practice/swift-scheduling/.meta/tests.toml index 7cc3e415..f2475c9e 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 d2f11bb5..a81f126f 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 8e3db9a9..7bdc9634 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",""