From 549f88e0320d05ca91d522771829ec6d949b7b34 Mon Sep 17 00:00:00 2001 From: Hendrik Sitzmann Date: Thu, 8 Feb 2024 21:30:15 +0100 Subject: [PATCH] refactoring: added comments in test --- test/gaussscheSummenformel/test_gaussscheSummenformel.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/gaussscheSummenformel/test_gaussscheSummenformel.c b/test/gaussscheSummenformel/test_gaussscheSummenformel.c index 99a9219..96a9e2b 100644 --- a/test/gaussscheSummenformel/test_gaussscheSummenformel.c +++ b/test/gaussscheSummenformel/test_gaussscheSummenformel.c @@ -6,9 +6,9 @@ void tearDown(){} void test_gaussscheSummenformel() { - TEST_ASSERT_EQUAL_INT(1, gaussscheSummenformel(1)); - TEST_ASSERT_EQUAL_INT(15, gaussscheSummenformel(5)); - TEST_ASSERT_EQUAL_INT(55, gaussscheSummenformel(10)); - TEST_ASSERT_EQUAL_INT(5050, gaussscheSummenformel(100)); + TEST_ASSERT_EQUAL_INT(1, gaussscheSummenformel(1)); // sum of the first 1 numbers + TEST_ASSERT_EQUAL_INT(15, gaussscheSummenformel(5)); // sum of the first 5 numbers + TEST_ASSERT_EQUAL_INT(55, gaussscheSummenformel(10)); // sum of the first 10 numbers + TEST_ASSERT_EQUAL_INT(5050, gaussscheSummenformel(100));// sum of the first 100 numbers } \ No newline at end of file