Skip to content

Latest commit

 

History

History
58 lines (39 loc) · 1.13 KB

README.md

File metadata and controls

58 lines (39 loc) · 1.13 KB

CITB106-F2024-Project-2

Build IconLicense Icon

University project mainly involving Mersenne numbers.

Setting up

Initial

Note

This step needs to be done with every code change.

cmake -B build
cmake --build build

Running main

./build/main

Alternatively, if you want to pipe user input you can do it like so:

On Linux/Mac OS

./build/main < ./input/mock_input.txt

On Windows

PowerShell
Get-Content ./input/mock_input.txt | ./build/main
CMD
.\build\main < .\input\mock_input.txt

Running tests

./build/test/all_tests
ctest  # This is an alternative but since this project uses gtest, the display
       # of the tests will be worse.