Practicing Data Structures, Algorithms, Concurrency, and more!
This project uses Gradle. Make sure that you have Java installed.
To run the entire suite of tests:
$ ./gradlew test
To run a specific test class:
$ ./gradlew test --tests <TestClassName>
For example, I can run the tests at SimpleStackTest with:
$ ./gradlew test --tests SimpleStackTest
Further, we can a single test by specifying its fully qualified path like so:
$ gradle test --tests io.wcygan.data_structures.stack.SimpleStackTest.addMany
Running any type of test should generate a JaCoCo report file
at build/jacocoHtml/index.html
which indicates various types of
Program Coverage properties for the execution of the test
your ran.
I'm using the following material as a reference:
- Introduction to Algorithms
- Java Concurrency in Practice
- The Art of Multiprocessor Programming
- Effective Java
- Fork the repo on GitHub
- Clone the project to your own machine
- Commit changes to your own branch
- Push your work back up to your fork
- Submit a Pull request for your work
Further, I recommend you use IntelliJ with the google-java-format plugin to format the code you submit.