[+] A2 tests

This commit is contained in:
Hykilpikonna
2021-10-03 16:21:51 -04:00
parent daeb9b99f4
commit e1c5d22f52
+3 -2
View File
@@ -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: