Skip to content

Latest commit

 

History

History
11 lines (9 loc) · 821 Bytes

File metadata and controls

11 lines (9 loc) · 821 Bytes

This is the submission by Group 5 for CW 2 of the COMP0012 2024-25 module. Please read the report pdf for full details of our implementation.

To add test cases we did the following:

  1. Created .java test files in the src/comp0012/target folder (this is auto compiled to a .class file in optimised/classes/comp0012/target by the build file during tests).
  2. Created corresponding unit test .java files in the test/comp0012/target folder.
  3. Updated the build.xml file to include the generation of the .class file for the .java file we added in 1).

To build/run tests (in the root directory):

  1. First run "ant clean"
  2. Then optionally run "ant generate" to see if the tests .java source files are being correctly compiled.
  3. Lastly, run "ant test" to run the unit tests and check the correctness of the optimizations.