From 8f7ceb6ecf1765e6515687b1971fcbd127818176 Mon Sep 17 00:00:00 2001 From: Vasile Vilvoiu Date: Sun, 28 Nov 2021 22:44:27 +0200 Subject: Encoder unit tests. Closes #11. --- README.md | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 09046b2..56ef2e0 100644 --- a/README.md +++ b/README.md @@ -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: -- cgit v1.2.3