From e1c5d22f529821b1eabf68f68121be753be89d57 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Sun, 3 Oct 2021 16:21:51 -0400 Subject: [PATCH] [+] A2 tests --- assignments/a2/a2_example_tests.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/assignments/a2/a2_example_tests.py b/assignments/a2/a2_example_tests.py index d760090..7954d47 100644 --- a/assignments/a2/a2_example_tests.py +++ b/assignments/a2/a2_example_tests.py @@ -241,14 +241,15 @@ def test_section_compatible() -> None: """ Test is_section_compatible with compatible sections """ - # TODO: Create a test + assert a2_courses.is_section_compatible(SCHEDULE_1, CON123_LEC0123) def test_section_not_compatible() -> None: """ Test is_section_compatible with incompatible sections """ - # TODO: Create a test + assert not a2_courses.is_section_compatible(SCHEDULE_1, TMP000_LEC0000) + assert not a2_courses.is_section_compatible(SCHEDULE_3, CON333_LEC2001) def test_course_compatible() -> None: