A collection of polynomial tests from the original assignment, my own tests, and the Megatester. These tests require JUnit 5 to run.
Feel free to add your own test cases! If you want, you can submit a pull request and I'll probably add your cases too.
Please uncomment and change the relevant line in build.gradle to the location and name of the RuntimeTester.jar file.
To import the project from version control:
- Click "Get from version control..."
- Select "GitHub"
- Select a local directory and paste the URL of this project
- You're done!
- Select "Git -> Projects from Git (with smart import)"
- Select "Clone URI"
- Paste the URL of this project into "URI"
- Select the "master" branch
- Once the project is imported, click the "Gradle Tasks" tab (you can find it in Window -> Show View -> Other -> Gradle -> Gradle Tasks) and import the Gradle project. The root directory will be wherever you cloned the project to.
Right-click on the package "src/test/java/assignment2" and click "Run 'Tests in 'assignment2''" for IntelliJ, or "Run As" -> "JUnit Test" in Eclipse.
Either right-click the files or go in to the files and run whatever methods you want