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