From 3264029256016e06256ecf56bd9ccd10b0c4fb8d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nils=20H=C3=B6lscher?= Date: Mon, 16 May 2022 13:44:23 +0200 Subject: [PATCH] Updated readme for UnitTests --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 7c2eb29..5a0e609 100644 --- a/README.md +++ b/README.md @@ -88,6 +88,7 @@ This is my personally preferred IDE setup for C/C++ and by no means needed to ac clangd, Clang-Format, CodeLLDB, +C++ TestMate, Docker and Remote Development @@ -151,6 +152,12 @@ You can also set the following variables in the CacheAnalysisPass/CacheAnalysisP Helpful to understand what the program does but not very so much for the actual exercise. +## UnitTest + +The best way to see what your function does is to use the UnitTest.cpp. +With "C++ TestMate" install you can simply run or debug the test from the side panel in VS Code (Flask Icon). +The "C++ TestMate" is not installed in the VM as I just added this feature now. +Please feel free to add more test cases to your liking in UnitTest.cpp. ## Use the Helper script Again if you work on a Pool PC use poolhelper.sh insted of the helper.sh script.