summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/BS23.cpp4
-rw-r--r--tests/Euler.cpp2
-rw-r--r--tests/HE12.cpp4
-rw-r--r--tests/Heun.cpp2
-rw-r--r--tests/Midpoint.cpp2
-rw-r--r--tests/RK4.cpp2
-rw-r--r--tests/RKF45.cpp4
7 files changed, 10 insertions, 10 deletions
diff --git a/tests/BS23.cpp b/tests/BS23.cpp
index 7493345..e3b9f6f 100644
--- a/tests/BS23.cpp
+++ b/tests/BS23.cpp
@@ -26,8 +26,8 @@ main()
<< "Numerical: " << actual << std::endl
<< "Expected: " << expected << std::endl
<< "h: " << integrator.h() << std::endl
- << "iterations: " << integrator.iterations() << std::endl
- << "rejections: " << integrator.rejections() << std::endl;
+ << "Iterations: " << integrator.iterations() << std::endl
+ << "Rejections: " << integrator.rejections() << std::endl;
double error = std::fabs(expected - actual)/expected;
if (error > 4.8e-6) {
diff --git a/tests/Euler.cpp b/tests/Euler.cpp
index 62ecee7..89c2e05 100644
--- a/tests/Euler.cpp
+++ b/tests/Euler.cpp
@@ -25,7 +25,7 @@ main()
std::cout << std::setprecision(10)
<< "Numerical: " << actual << std::endl
<< "Expected: " << expected << std::endl
- << "iterations: " << integrator.iterations() << std::endl;
+ << "Iterations: " << integrator.iterations() << std::endl;
double error = std::fabs(expected - actual)/expected;
if (error > 0.01) {
diff --git a/tests/HE12.cpp b/tests/HE12.cpp
index 9a22d20..99b4ad3 100644
--- a/tests/HE12.cpp
+++ b/tests/HE12.cpp
@@ -26,8 +26,8 @@ main()
<< "Numerical: " << actual << std::endl
<< "Expected: " << expected << std::endl
<< "h: " << integrator.h() << std::endl
- << "iterations: " << integrator.iterations() << std::endl
- << "rejections: " << integrator.rejections() << std::endl;
+ << "Iterations: " << integrator.iterations() << std::endl
+ << "Rejections: " << integrator.rejections() << std::endl;
double error = std::fabs(expected - actual)/expected;
if (error > 8.7e-7) {
diff --git a/tests/Heun.cpp b/tests/Heun.cpp
index e8b4e6c..fca782e 100644
--- a/tests/Heun.cpp
+++ b/tests/Heun.cpp
@@ -25,7 +25,7 @@ main()
std::cout << std::setprecision(10)
<< "Numerical: " << actual << std::endl
<< "Expected: " << expected << std::endl
- << "iterations: " << integrator.iterations() << std::endl;
+ << "Iterations: " << integrator.iterations() << std::endl;
double error = std::fabs(expected - actual)/expected;
if (error > 1.4e-4) {
diff --git a/tests/Midpoint.cpp b/tests/Midpoint.cpp
index b544ed1..eae0fef 100644
--- a/tests/Midpoint.cpp
+++ b/tests/Midpoint.cpp
@@ -25,7 +25,7 @@ main()
std::cout << std::setprecision(10)
<< "Numerical: " << actual << std::endl
<< "Expected: " << expected << std::endl
- << "iterations: " << integrator.iterations() << std::endl;
+ << "Iterations: " << integrator.iterations() << std::endl;
double error = std::fabs(expected - actual)/expected;
if (error > 1.4e-4) {
diff --git a/tests/RK4.cpp b/tests/RK4.cpp
index 4b667d4..c6faba1 100644
--- a/tests/RK4.cpp
+++ b/tests/RK4.cpp
@@ -25,7 +25,7 @@ main()
std::cout << std::setprecision(10)
<< "Numerical: " << actual << std::endl
<< "Expected: " << expected << std::endl
- << "iterations: " << integrator.iterations() << std::endl;
+ << "Iterations: " << integrator.iterations() << std::endl;
double error = std::fabs(expected - actual)/expected;
if (error > 4.2e-8) {
diff --git a/tests/RKF45.cpp b/tests/RKF45.cpp
index 1ac3e4f..e2764cf 100644
--- a/tests/RKF45.cpp
+++ b/tests/RKF45.cpp
@@ -26,8 +26,8 @@ main()
<< "Numerical: " << actual << std::endl
<< "Expected: " << expected << std::endl
<< "h: " << integrator.h() << std::endl
- << "iterations: " << integrator.iterations() << std::endl
- << "rejections: " << integrator.rejections() << std::endl;
+ << "Iterations: " << integrator.iterations() << std::endl
+ << "Rejections: " << integrator.rejections() << std::endl;
double error = std::fabs(expected - actual)/expected;
if (error > 1.5e-6) {