Browse Source

refactoring: Testvariablen verbessert

remotes/origin/habib
Habib 11 months ago
parent
commit
fb265ab205
  1. 6
      src/test/test_funktionen.c

6
src/test/test_funktionen.c

@ -251,9 +251,9 @@ void test_pressure_at_force360_area12(void)
int expected = 30;
/* act */
int f = 360;
int a = 12;
actual = calculatePressure(f, a);
int force = 360;
int area = 12;
actual = calculatePressure(force, area);
/* assert */
TEST_ASSERT_EQUAL_INT(expected, actual);

Loading…
Cancel
Save