employee-scheduling icon indicating copy to clipboard operation
employee-scheduling copied to clipboard

Add tests

Open thisac opened this issue 2 years ago • 1 comments

thisac avatar Mar 14 '24 17:03 thisac

I can think of at least two different types of tests we could have for this:

  1. "End to end" tests where we put in inputs that we already know the solution for, run it, and assert that the result is the expected schedule. Good for knowing if we're done and it's all good.

  2. "Unit tests" where we assert that the constraints are properly added to the cqm. Good for verifying each of our little code snippets are coded how we want them (and tbh some of the code for this is a little scary 😅)

JimLynchCodes avatar May 24 '25 13:05 JimLynchCodes