mirror of
https://github.com/jorenchik/testing-spring-2024.git
synced 2026-02-04 06:42:02 +00:00
fb05b5d6c3c9e5ac7b733b8a911a24fc43644c3e
Overview
Project
This is a simple C++ project that includes the function for our colleagues to
test. The function (i.e., the main function and the subfunctions used in it) is
located in lib.cpp.
Additional libraries and executable
Our library prep is concerned with preparation of data prior to the function
call. test.cpp is a single test file that will contain the tests of our colleagues
and our own development tests. GTest is used for tests.
Usage
Compilation
Compilation on Linux requires cmake and CXX compiler (e.g., g++).
ninja
cmake -Gninja -Bbuild
cd build
ninja
./main
Make
cmake -Bbuild
cd build
make
./main
Resulting binaries are build/main - the program and build/runtests to
run tests specified in test.cpp.
TODOS
- Translate README in Latvian
- Check the compilation process on Windows and add description in README
Languages
C++
92%
CMake
8%