skiadas / schedule-visualizer

0 stars 15 forks source link

Create Single Section Conflicts #44

Open bayaj0110 opened 7 months ago

bayaj0110 commented 7 months ago
  1. Course not in slot
  2. Instructor not in slot
bayaj0110 commented 7 months ago

Created a SingleSectionConstraints Class, implements addSection and getSection methods, and also SingleSectionConstraintsTest; it tests that an instructor only accepts a single section and can't have duplicate sections.