Skip to content

memoryInject/coding-challenges-cpp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding Challenges - cpp

example workflow License: MIT

Common alogrithms and problems solved in c++ with googletest driven environment.

Installation

Clone the repo into local drive

git clone https://github.com/memoryInject/algoCasts_cpp

Usage

This project does require cmake in a linux environment to build and run the tests.
Run the test by typing the code below in bash

cd algoCasts_cpp

cmake . -B build

cd build

make

GTEST_COLOR=1 ctest -V

File structure

CMake will download googletest suit from github and create:  "libs/googletest".
After building the project the executable can be found in:  "build/src/<00_project>/project".
All source files are under:  "src/<00_project>/<project.cpp>".
Test file is on every project directory with the name of 'main.cpp':  "src/<00_project>/main.cpp".

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Common coding algorithms and problems solved in c++ with test driven environment

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published