aboutsummaryrefslogtreecommitdiff
path: root/src/test.cpp
diff options
context:
space:
mode:
authorSan Jacobs2022-08-26 12:41:48 +0200
committerSan Jacobs2022-08-26 12:41:48 +0200
commitb493287ba0d85799fd0c01c1d84e6eb6b781bfd6 (patch)
treeb537fa592c34373d6cd809cf655c438537769140 /src/test.cpp
parentf31f88283209af8c6c8c1990b90f620206dfd54c (diff)
downloadsatscalc-b493287ba0d85799fd0c01c1d84e6eb6b781bfd6.tar.gz
satscalc-b493287ba0d85799fd0c01c1d84e6eb6b781bfd6.tar.bz2
satscalc-b493287ba0d85799fd0c01c1d84e6eb6b781bfd6.zip
Added test of easter predictor
Diffstat (limited to 'src/test.cpp')
-rw-r--r--src/test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test.cpp b/src/test.cpp
index d5b2d22..0b97b4a 100644
--- a/src/test.cpp
+++ b/src/test.cpp
@@ -82,6 +82,10 @@ void test(){
std::cout << "Testtime: " << timeprint(testtime) << std::endl;
+ std::cout << "\n\n --- HOLIDAY TEST ---\n\n";
+ std::cout << "Easter 2022: " << timeprint(gaussEaster(2022)) << std::endl;
+ std::cout << "Easter 2030: " << timeprint(gaussEaster(2030)) << std::endl;
+ std::cout << "Easter 2057: " << timeprint(gaussEaster(2057)) << std::endl;
std::cout << "\n\n --- TIME INPUT TEST ---\n\n";