Skip to content

Commit 003fc21

Browse files
docs: update README file (6)
1 parent 28e8cc0 commit 003fc21

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

sorts/README.md

+8-10
Original file line numberDiff line numberDiff line change
@@ -58,28 +58,26 @@ A highly efficient divide-and-conquer algorithm that selects a "pivot" element,
5858

5959
## Running the Project
6060

61-
1. **Compile the Code**: Maven handles compilation automatically with the following command:
61+
1. **Compile the Code**: Make sure you have Java and Maven installed, and then compile the code using Maven with the following command:
6262

6363
```bash
6464
mvn compile
6565
```
6666

67-
This compiles all Java classes located in the `src/main/java` directory.
68-
6967
2. **Run the Sorting Algorithms**: To run the main program, use Maven with the following command:
7068

7169
```bash
7270
mvn exec:java -Dexec.mainClass="com.brandoniscoding.Main"
7371
```
7472

75-
3. **Experiment with Generic Types**: To experiment with different data types in the sorting algorithms:
73+
3. **Run the Tests**: To execute the unit tests for the sorting algorithms, run the following Maven command:
74+
75+
```bash
76+
mvn test
77+
```
78+
79+
This will execute all the tests defined in the project and show the results in the terminal.
7680

77-
- Modify test cases in the `Main` class or in test classes under `src/test/java` to test data types like `Integer`, `String`, or custom objects.
78-
- Use Maven to recompile and run your tests with:
79-
```bash
80-
mvn test
81-
```
82-
- This command will execute all tests defined in `src/test/java` and display the results for each sorting case you’ve tested.
8381

8482
## Contributing
8583

0 commit comments

Comments
 (0)