CSC 217 Lab 06 - Finite State Machines

CSC 217 Lab 06 - Integrate into Course

CSC 217 Lab 06 Integrate into Course

Now that the CourseNameValidator is complete, the Course class should use it to validate course names at construction.

Integrate CourseNameValidator into Course

Follow the provided design to integrate CourseNameValidator into the Course class.

Update Tests!

With the new CourseNameValidator functionality, and no longer allowing any spaces in course names, you’ll need to update the tests for Course and other classes in your PackScheduler system.

You can use the updated course_records.txt file to test your code. The changes should only require removing the space from between the leading prefix and the ending number.

Push to GitHub

Push your PackScheduler project to GitHub

  • Add the unstaged changes to the index.
  • Commit and push changes. Remember to use a meaningful commit message describing how you have changed the code.

Reminder: Staging and Pushing to GitHub

GitHub Resources: