From b99246a677b4cf9af94b7200fbfed1340262beb1 Mon Sep 17 00:00:00 2001 From: cxnnqr Date: Fri, 2 Feb 2024 12:54:32 +0100 Subject: [PATCH] refactoring: renamed tests for simplified the zero cases --- test/ggT/test_ggT.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/ggT/test_ggT.c b/test/ggT/test_ggT.c index 5730eac..6c14258 100644 --- a/test/ggT/test_ggT.c +++ b/test/ggT/test_ggT.c @@ -17,7 +17,7 @@ void test_ggTOf5And10(){ TEST_ASSERT_EQUAL_INT(expected, result); } -void test_ggTOf0AndPositiveNumber(){ +void test_ggTOfFirstNumberZero(){ //arrange int a = 0; int b = 5; @@ -30,7 +30,7 @@ void test_ggTOf0AndPositiveNumber(){ TEST_ASSERT_EQUAL_INT(expected, result); } -void test_ggTOfPositiveAnd0(){ +void test_ggTOfSecondNumberZero(){ //arrange int a = 10; int b = 0; @@ -43,7 +43,7 @@ void test_ggTOfPositiveAnd0(){ TEST_ASSERT_EQUAL_INT(expected, result); } -void test_ggTOfBoth0(){ +void test_ggTOfBothNumbersZero(){ //arrange int a = 0; int b = 0;