From dd5e95f7d13c3f58baa21f6b740331a7e2f51aea Mon Sep 17 00:00:00 2001 From: Brendan Chen Date: Wed, 22 Jan 2025 19:43:52 -0800 Subject: [PATCH] add test cases --- ...UnoptimizedInMemoryRepositoryTests.test.ts | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/test/repositories/UnoptimizedInMemoryRepositoryTests.test.ts b/test/repositories/UnoptimizedInMemoryRepositoryTests.test.ts index e9e8166..8d5dcb7 100644 --- a/test/repositories/UnoptimizedInMemoryRepositoryTests.test.ts +++ b/test/repositories/UnoptimizedInMemoryRepositoryTests.test.ts @@ -429,6 +429,66 @@ describe("UnoptimizedInMemoryRepository", () => { }); }); + describe("removeSystem", () => { + test("removes system given ID", async () => { + + }); + + test("does nothing if system doesn't exist", async () => { + + }); + }); + + describe("removeRoute", () => { + test("removes route given ID", async () => { + + }); + + test("does nothing if route doesn't exist", async () => { + + }); + }); + + describe("removeShuttle", () => { + test("removes shuttle given ID", async () => { + + }); + + test("does nothing if shuttle doesn't exist", async () => { + + }); + }); + + describe("removeStop", () => { + test("removes stop given ID", async () => { + + }); + + test("does nothing if stop doesn't exist", async () => { + + }); + }); + + describe("removeOrderedStop", () => { + test("removes ordered stop given stop ID and route ID", async () => { + + }); + + test("does nothing if ordered stop doesn't exist", async () => { + + }); + }); + + describe("removeEta", () => { + test("removes eta given shuttle ID and stop ID", async () => { + + }); + + test("does nothing if eta doesn't exist", async () => { + + }); + }); + describe("clearSystemData", () => { test("clears all systems from the repository", async () => { const mockSystems = generateMockSystems();