Go to file
Jorens Shtekels ee12e48a86 feat[lib]: validate action partial implementation
Performed most checks. Added placeholders to functions called.
2024-03-10 20:15:55 +02:00
.github/workflows chore(actions): add automated testing 2024-03-10 19:44:15 +02:00
src feat[lib]: validate action partial implementation 2024-03-10 20:15:55 +02:00
.clang-format style: update .clang-format 2024-03-10 16:33:34 +02:00
.gitignore build(ninja): add ninja support 2024-03-10 18:58:51 +02:00
CMakeLists.txt refactor(cmake): move CMakeLists.txt to root dir 2024-03-10 18:29:00 +02:00
CPPLINT.cfg style: add CPPLINT.cfg file 2024-03-10 16:35:01 +02:00
README.md merge readme 2024-03-10 19:46:40 +02:00

Overview

Tests

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