Browse Source

Testfunktion für Volumenberechnung erstellt

remotes/origin/siamak
Siamak 11 months ago
parent
commit
c1d009dcf7
  1. 13
      src/test/test_funktionen.c

13
src/test/test_funktionen.c

@ -395,6 +395,19 @@ void test_o_wins_onIndex_02_11_20(void)
TEST_ASSERT_EQUAL_INT(expected, actual);
}
void test_volume_from_3_4_5(void)
{
/* arrange */
int actual;
int expected = 60;
/* act */
actual = volume(3, 4, 5);
/* assert */
TEST_ASSERT_EQUAL_INT(expected, actual);
}
void test_stringLaenge_von_Kokosnuss(void)
{
/* arrange */

Loading…
Cancel
Save