From 315547fddfedff3c206385b92d85b5762a4e8892 Mon Sep 17 00:00:00 2001 From: Laurin Date: Mon, 5 Feb 2024 11:55:07 +0100 Subject: [PATCH] refactoring: renamed some test functions --- test/conversionOfNumbers/test_conversionOfNumbers.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/conversionOfNumbers/test_conversionOfNumbers.c b/test/conversionOfNumbers/test_conversionOfNumbers.c index db390e7..b73d552 100644 --- a/test/conversionOfNumbers/test_conversionOfNumbers.c +++ b/test/conversionOfNumbers/test_conversionOfNumbers.c @@ -5,7 +5,7 @@ void setUp(){} void tearDown(){} -void test_convert2ToBinaryStr10(){ +void test_convertNum2ToBinaryStr10(){ //arrange char* result; char expected[] = "10"; @@ -42,7 +42,7 @@ void test_binaryStringLengthOfInput0is1(){ TEST_ASSERT_EQUAL_INT(expected, result); } -void test_convert10ToBinaryStr1010(){ +void test_convertNum10ToBinaryStr1010(){ //arrange char* result; char expected[] = "1010"; @@ -67,7 +67,7 @@ void test_binaryStringLengthOfInputNegative10is5(){ TEST_ASSERT_EQUAL_INT(expected, result); } -void test_convertNegative12ToBinaryStrNegative1100(){ +void test_convertNegativeNum12ToBinaryStrNegative1100(){ //arrange char* result; char expected[] = "-1100"; @@ -116,7 +116,7 @@ void test_convertBinaryStr1001ToInt9(){ TEST_ASSERT_EQUAL_UINT(expected, result); } -void test_convert3ToHexStr3(){ +void test_convertNum3ToHexStr3(){ //arrange char* result; char expected[] = "3"; @@ -129,7 +129,7 @@ void test_convert3ToHexStr3(){ free(result); } -void test_convert12ToHexStrC(){ +void test_convertNum12ToHexStrC(){ //arrange char* result; char expected[] = "C"; @@ -178,7 +178,7 @@ void test_hexStringLengthOfInput0is1(){ TEST_ASSERT_EQUAL_INT(expected, result); } -void test_convert234ToHexStrEA(){ +void test_convertNum234ToHexStrEA(){ //arrange char* result; char expected[] = "EA";