This repository contains a C++ program that demonstrates advanced random number generation. It includes:
- Input/output handling
- Random number generation
- Unit tests
app/: Contains the main application source code.src/: Contains the implementation of the random number generator library.include/: Contains the header files for the library.tests/: Contains unit tests for the library..github/workflows/: Contains CI configuration files.
- A C++17-compatible compiler (e.g.,
clang++,g++) - CMake (version 3.16 or higher)
-
Clone the repository:
git clone https://github.com/nterrel/cpp-rng-simulator.git cd cpp-rng-simulator -
Build the project:
cmake -S . -B build cmake --build build -
Run the application:
./build/random-number
-
Run the tests:
ctest --test-dir build --output-on-failure
-
Fork the repository.
-
Create a new branch for your feature:
git checkout -b feature-name
-
Commit your changes:
git commit -m 'Add new feature' -
Push to your branch:
git push origin feature-name
-
Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.