From 782d321813030dcee362d066d959ca87453ba771 Mon Sep 17 00:00:00 2001 From: whitesnowx Date: Wed, 13 Mar 2024 05:16:00 +0800 Subject: [PATCH] added TUE check in AvailabilityTest --- src/test/java/staffconnect/model/person/AvailabilityTest.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test/java/staffconnect/model/person/AvailabilityTest.java b/src/test/java/staffconnect/model/person/AvailabilityTest.java index dcf70e3070e..c73e4e0dcc7 100644 --- a/src/test/java/staffconnect/model/person/AvailabilityTest.java +++ b/src/test/java/staffconnect/model/person/AvailabilityTest.java @@ -49,7 +49,8 @@ public void isValidAvailability() { // valid availability assertTrue(Availability.isValidAvailability("mon")); // first syllable tuesday - assertTrue(Availability.isValidAvailability("tues")); // first syllable tuesday + assertTrue(Availability.isValidAvailability("tue")); // first syllable tuesday without s + assertTrue(Availability.isValidAvailability("tues")); // first syllable tuesday with s assertTrue(Availability.isValidAvailability("wed")); // first syllable wednesday assertTrue(Availability.isValidAvailability("wednes")); // two syllable wednesday assertTrue(Availability.isValidAvailability("thu")); // first syllable thursday without rs