From 7bb1e6d599d2689591458a495be8937c538690d6 Mon Sep 17 00:00:00 2001 From: Sandro Welte Date: Fri, 9 Feb 2024 17:23:21 +0100 Subject: [PATCH] refactoring: removed unnecessary comments --- test/test_convert_C_to_F.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test_convert_C_to_F.c b/test/test_convert_C_to_F.c index a3b9630..1da29e8 100644 --- a/test/test_convert_C_to_F.c +++ b/test/test_convert_C_to_F.c @@ -16,10 +16,10 @@ void test_convert_temperature(void) { char from_unit = 'c'; char to_unit = 'f'; - // Perform the conversion + float result = convert_temperature(temperature, from_unit, to_unit); - // Define the expected result (100 degrees Celsius to Fahrenheit is 212) + float expectedResult = 212; // Assert the result