You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Test classes must be in src/main/test/java/tests and the name must match Test* or *Test.
Run all tests using Maven test target.
Input testing
Junit tests - testing valid input processing from the .dot file.
Schedule validation testing
Junit tests - testing that the schedule produced by the algorithm is a valid solution.
Tests four validity aspects:
If a node is scheduled after its dependencies.
If the length of a task is equal to the weight of the node
Switching time between two tasks is equal or greater than the edge weight between them
Only one task is active on every processor
Regression Testing
The primary role of the regression test is to test that previously functional code retains the same basic functionality after implementation changes have been made. Currently, our regression test utilizes various test cases with known valid optimal schedules and checks that the cost estimates of those schedules match the schedules generated from our implementation.