diff options
| author | Vasile Vilvoiu <vasi@vilvoiu.ro> | 2021-11-28 22:44:27 +0200 |
|---|---|---|
| committer | Vasile Vilvoiu <vasi@vilvoiu.ro> | 2021-11-28 22:44:27 +0200 |
| commit | 8f7ceb6ecf1765e6515687b1971fcbd127818176 (patch) | |
| tree | 0b245c6969f269c8f6aa03d04988517f1ca273ac /README.md | |
| parent | fa14e043a604dfa17f45cf401cbcbeb4fb33693c (diff) | |
Encoder unit tests.
Closes #11.
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 20 |
1 files changed, 19 insertions, 1 deletions
@@ -19,13 +19,31 @@ This will generate the following files: ## Testing -Unit tests can be run by performing: +Functional tests can be run with: ``` cd test/ ./runtests.sh ``` +Unit tests depend on `gtest` and must be explicitly built: + +``` +cmake . -DTESTING=ON +``` + +They can be run either via CMake: + +``` +ctest +``` + +or by directly running the unit tests executable, which provides more verbose output: + +``` +./bin/unittest +``` + ## Installation Installing can be performed with: |
