made why2-test success message more organized

just divided it into more lines
This commit is contained in:
Václav Šmejkal 2022-05-31 18:49:28 +02:00
parent 169c72594a
commit da19d8fd10
No known key found for this signature in database
GPG Key ID: FD749A97DF2D5E19

View File

@ -41,7 +41,18 @@ int main(void)
//COMPARE DIFFERENCE //COMPARE DIFFERENCE
if (strcmp(encrypted.outputText, TEST_TEXT) == 0) 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 else
{ {