Added input outputting for tests

This commit is contained in:
Nikola
2026-07-15 20:09:56 +02:00
parent fab0eb03f1
commit 1824d53c2d
+15 -15
View File
@@ -107,11 +107,11 @@ unsigned tests(void) {
n = 5; n = 5;
printf("Start: %f%+fi\n", crealf(start), cimagf(start)); printf("Start: %f%+fi\n", crealf(start), cimagf(start));
printf("Width: %li",width); printf("Width: %li\n",width);
printf("Height: %li", height); printf("Height: %li\n", height);
printf("Resolution: %f", resolution); printf("Resolution: %f\n", resolution);
printf("Iterations: %i", n); printf("Iterations: %i\n", n);
printf("Colored: %s", colored ? "true" : "false"); printf("Colored: %s\n", colored ? "true" : "false");
for(int i = 0; i < NUMBER_OF_VERSIONS; i++) { for(int i = 0; i < NUMBER_OF_VERSIONS; i++) {
printf("\n\n"); printf("\n\n");
@@ -126,11 +126,11 @@ unsigned tests(void) {
n = 3000; n = 3000;
printf("Start: %f%+fi\n", crealf(start), cimagf(start)); printf("Start: %f%+fi\n", crealf(start), cimagf(start));
printf("Width: %li",width); printf("Width: %li\n",width);
printf("Height: %li", height); printf("Height: %li\n", height);
printf("Resolution: %f", resolution); printf("Resolution: %f\n", resolution);
printf("Iterations: %i", n); printf("Iterations: %i\n", n);
printf("Colored: %s", colored ? "true" : "false"); printf("Colored: %s\n", colored ? "true" : "false");
@@ -149,11 +149,11 @@ unsigned tests(void) {
n = 1000; n = 1000;
printf("Start: %f%+fi\n", crealf(start), cimagf(start)); printf("Start: %f%+fi\n", crealf(start), cimagf(start));
printf("Width: %li",width); printf("Width: %li\n",width);
printf("Height: %li", height); printf("Height: %li\n", height);
printf("Resolution: %f", resolution); printf("Resolution: %f\n", resolution);
printf("Iterations: %i", n); printf("Iterations: %i\n", n);
printf("Colored: %s", colored ? "true" : "false"); printf("Colored: %s\n", colored ? "true" : "false");
for(int i = 0; i < NUMBER_OF_VERSIONS; i++) { for(int i = 0; i < NUMBER_OF_VERSIONS; i++) {