From 8eacec64a0d665eede121557eb0936dbf1dc9bcf Mon Sep 17 00:00:00 2001 From: Chia Rena Date: Fri, 12 Apr 2024 21:05:00 +0800 Subject: [PATCH 1/2] Revert "edited question mark to colon" This reverts commit 348fcd0717f1d383214b88502e2a1b37ea712be1. --- docs/UserGuide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/UserGuide.md b/docs/UserGuide.md index a5b4f1e4abf..68bf8c28bac 100644 --- a/docs/UserGuide.md +++ b/docs/UserGuide.md @@ -9,7 +9,7 @@ TutorTrack is a **desktop app for tutors to manage their students and scheduled classes, optimized for use via a Line Interface** (CLI) while still having the benefits of a Graphical User Interface (GUI). If you can type fast, TutorTrack can get your contact management tasks done faster than traditional GUI apps. -### What is in this user guide: +### What is in this user guide ? - Quick start - Features - Help : Viewing help From 320f6ebc61bb99e750903d5f7d4666ff6a510ab8 Mon Sep 17 00:00:00 2001 From: Chia Rena Date: Sat, 13 Apr 2024 14:02:51 +0800 Subject: [PATCH 2/2] Fixed duplicate student exception --- src/main/java/seedu/address/model/util/SampleDataUtil.java | 6 ------ .../java/seedu/address/model/util/SampleDataUtilTest.java | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/main/java/seedu/address/model/util/SampleDataUtil.java b/src/main/java/seedu/address/model/util/SampleDataUtil.java index e89176b8b79..eea30fbde1f 100644 --- a/src/main/java/seedu/address/model/util/SampleDataUtil.java +++ b/src/main/java/seedu/address/model/util/SampleDataUtil.java @@ -32,12 +32,6 @@ public static Student[] getSampleStudents() { new Student(new Name("Charlotte Oliveiro"), new Phone("93210283"), new Email("charlotte@example.com"), new Address("Blk 11 Ang Mo Kio Street 74, #11-04"), new Subject("Physics")), - new Student(new Name("Bernice Yu"), new Phone("99272758"), new Email("berniceyu@example.com"), - new Address("Blk 30 Lorong 3 Serangoon Gardens, #07-18"), - new Subject("English")), - new Student(new Name("Charlotte Oliveiro"), new Phone("93210283"), new Email("charlotte@example.com"), - new Address("Blk 11 Ang Mo Kio Street 74, #11-04"), - new Subject("Physics")), new Student(new Name("David Li"), new Phone("91031282"), new Email("lidavid@example.com"), new Address("Blk 436 Serangoon Gardens Street 26, #16-43"), new Subject("History")), diff --git a/src/test/java/seedu/address/model/util/SampleDataUtilTest.java b/src/test/java/seedu/address/model/util/SampleDataUtilTest.java index 837a65552a5..f2641852a75 100644 --- a/src/test/java/seedu/address/model/util/SampleDataUtilTest.java +++ b/src/test/java/seedu/address/model/util/SampleDataUtilTest.java @@ -17,7 +17,7 @@ public class SampleDataUtilTest { @Test void getSampleStudents() { Student[] sampleStudents = SampleDataUtil.getSampleStudents(); - assertEquals(8, sampleStudents.length); + assertEquals(6, sampleStudents.length); } @Test