From da19d8fd10fc772585377656c0da0f09ea7958b1 Mon Sep 17 00:00:00 2001 From: ENGO150 Date: Tue, 31 May 2022 18:49:28 +0200 Subject: [PATCH] made why2-test success message more organized just divided it into more lines --- src/lib/test/main.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/lib/test/main.c b/src/lib/test/main.c index d335971..77d17ff 100644 --- a/src/lib/test/main.c +++ b/src/lib/test/main.c @@ -41,7 +41,18 @@ int main(void) //COMPARE DIFFERENCE if (strcmp(encrypted.outputText, TEST_TEXT) == 0) { - printf("Test successful!\n\nTEXT: %s\nOUTPUT: %s\nKEY: %s\nTIME: %lums\nUNUSED KEY-CHARS: %lu\n", TEST_TEXT, textBuffer, encrypted.usedKey, timeBuffer / 1000, encrypted.unusedKeySize); + printf + ( + "Test successful!\n\n" + + "TEXT: %s\n" + "OUTPUT: %s\n" + "KEY: %s\n" + "TIME: %lums\n" + "UNUSED KEY-CHARS: %lu\n" + + , TEST_TEXT, textBuffer, encrypted.usedKey, timeBuffer / 1000, encrypted.unusedKeySize + ); } else {