diff --git a/src/test/c/Jason/test_ASCII_art.c b/src/test/c/Jason/test_ASCII_art.c index 3402698..5edde35 100644 --- a/src/test/c/Jason/test_ASCII_art.c +++ b/src/test/c/Jason/test_ASCII_art.c @@ -40,4 +40,17 @@ void test_korrekteBerechnungDerArrayGroesse() { //assert TEST_ASSERT_EQUAL_INT(expectedResult, actualResult); +} + +void test_stringAbgleich(void){ + // arrange + char expectedMessage[] = "XXXXXXX"; + + // act + char message[9]; + befuellenDesArraysMitX(message, 8); + + + // assert + TEST_ASSERT_EQUAL_STRING(expectedMessage, message); } \ No newline at end of file