From ce8e022876242679bfffef9281b542a749465d12 Mon Sep 17 00:00:00 2001 From: Habib Date: Wed, 7 Feb 2024 22:17:17 +0100 Subject: [PATCH] refactoring: Testvariablen verbessert --- src/test/test_funktionen.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/test/test_funktionen.c b/src/test/test_funktionen.c index 5af7fb7..f48a010 100644 --- a/src/test/test_funktionen.c +++ b/src/test/test_funktionen.c @@ -236,9 +236,9 @@ void test_current_at_voltage12_resistance6(void) int expected = 2; /* act */ - int v = 12; - int r = 6; - actual = calculateCurrent(v, r); + int voltage = 12; + int resistance = 6; + actual = calculateCurrent(voltage, resistance); /* assert */ TEST_ASSERT_EQUAL_INT(expected, actual);