testing-spring-2024/README.md
Jorens Shtekels b84cde3614 initial commit
Src directory with simple project with tests and one library. README.
CLang format config file.
2024-03-10 13:29:01 +02:00

35 lines
791 B
Markdown

# Overview
## Project
This is a simple C++ project that includes the function for our collegues to
test. The function (i.e., the main function and the subfunctions used in it) is
located in ``main_lib.cpp``.
## Additional libraries and executables
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 collegues
and our own development tests. GTest is used for tests.
# Usage
## Compilation
Compilation on Linux requires cmake and CXX compiler (e.g., g++).
```bash
cd src
mkdir build
cd build
cmake ../
cmake --build .
```
Resulting binaries are ``build/main`` - the program and ``build/runtests`` to
run tests specified in ``test.cpp``.
# TODOS
- Translate README in Latvian