From dab5d5c0222a96276a04f2c270621039f9a2c66b Mon Sep 17 00:00:00 2001 From: richelbilderbeek Date: Sun, 29 Sep 2019 15:02:00 +0200 Subject: [PATCH] Thanks OCLint --- main.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/main.cpp b/main.cpp index e936ecc..fe85c21 100644 --- a/main.cpp +++ b/main.cpp @@ -3,7 +3,11 @@ /// All tests are called from here, only in debug mode void test() { - assert(1 + 1 == 2); + //A first trivial test + const int a{1}; + const int b{2}; + const int c{3}; + assert(a + b == c); } int main(int argc, char ** argv)