From 6f2fe2b994f6ff4e7c404849c55d289577214e5d Mon Sep 17 00:00:00 2001 From: fdai7514 Date: Mon, 6 Feb 2023 22:30:36 +0100 Subject: [PATCH] refactoring: change variable names in test_displayMenuCalculator --- tests/test_displayMenuCalculator.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/test_displayMenuCalculator.c b/tests/test_displayMenuCalculator.c index 66c2499..665be20 100644 --- a/tests/test_displayMenuCalculator.c +++ b/tests/test_displayMenuCalculator.c @@ -14,10 +14,10 @@ void tearDown(void) void test_displayMenuCalculator(void) { - int e, a; - e = 1; - a = check(); - TEST_ASSERT_EQUAL_INT(e, a); + int expected, actual; //Arrange + expected = 1; + actual = check(); //Act + TEST_ASSERT_EQUAL_INT(expected, actual);//Assert }