Skip to content

1Git2Clone/CITB106-F2024-Project-2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

77 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.