Commit 88b00d08 authored by Wuttke, Joachim's avatar Wuttke, Joachim
Browse files

test output: terminal newline

parent 22375380
......@@ -215,6 +215,6 @@ int main()
result, 1e-13, cerfcx(C(1.234, 0.5678)),
C(0.3382187479799972294747793561190487832579, -0.1116077470811648467464927471872945833154));
printf("%i/%i tests failed", result.failed, result.total);
printf("%i/%i tests failed\n", result.failed, result.total);
return result.failed;
}
......@@ -157,6 +157,6 @@ int main()
-1.20000000000000000000000001800000000000000000e-42));
ZTEST(result, 1e-13, cdawson(C(1e300, 2.4e-303)), C(5e-301, 0));
printf("%i/%i tests failed", result.failed, result.total);
printf("%i/%i tests failed\n", result.failed, result.total);
return result.failed;
}
......@@ -77,6 +77,6 @@ int main(void)
xTest(&result, "dawson", cdawson, dawson, 1e-20, 1e-300, 1e150);
iTest(&result, "dawson", cdawson, dawson);
printf("%i/%i tests failed", result.failed, result.total);
printf("%i/%i tests failed\n", result.failed, result.total);
return result.failed;
}
......@@ -45,6 +45,6 @@ int main()
RTEST(result, 1e-12, voigt(1, .2, 5), 0.06113399719916219);
RTEST(result, 1e-12, voigt(1, 5, .2), 0.07582140674553575);
printf("%i/%i tests failed", result.failed, result.total);
printf("%i/%i tests failed\n", result.failed, result.total);
return result.failed ? 1 : 0;
}
......@@ -44,6 +44,6 @@ int main()
RTEST(result, 1e-2, voigt_hwhm(1., gamma), hwhm0(1.,gamma));
}
printf("%i/%i tests failed", result.failed, result.total);
printf("%i/%i tests failed\n", result.failed, result.total);
return result.failed ? 1 : 0;
}
......@@ -233,6 +233,6 @@ int main()
ZTEST(result, 1e-13, w_of_z(C(NaN, Inf)), C(NaN, NaN));
ZTEST(result, 1e-13, w_of_z(C(Inf, NaN)), C(NaN, NaN));
printf("%i/%i tests failed", result.failed, result.total);
printf("%i/%i tests failed\n", result.failed, result.total);
return result.failed;
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment