Added input outputting for tests
This commit is contained in:
+20
-20
@@ -87,11 +87,11 @@ unsigned tests(void) {
|
|||||||
_Bool colored = true;
|
_Bool colored = true;
|
||||||
|
|
||||||
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++) {
|
||||||
@@ -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++) {
|
||||||
|
|||||||
Reference in New Issue
Block a user