aboutsummaryrefslogtreecommitdiff
path: root/src/test.cpp
diff options
context:
space:
mode:
authorSanJacobs2022-07-12 23:46:53 +0200
committerSanJacobs2022-07-12 23:46:53 +0200
commita04dd89365fcadf919bd486a75ba3e4f4629a45a (patch)
treec64ed8d5a1ba9c15382bfc52ff0ddab73eefa68a /src/test.cpp
parent62866cac4eb109490ad1d79a3295a3848da8c134 (diff)
downloadsatscalc-a04dd89365fcadf919bd486a75ba3e4f4629a45a.tar.gz
satscalc-a04dd89365fcadf919bd486a75ba3e4f4629a45a.tar.bz2
satscalc-a04dd89365fcadf919bd486a75ba3e4f4629a45a.zip
Made timeinput() vastly less tedious
Diffstat (limited to 'src/test.cpp')
-rw-r--r--src/test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test.cpp b/src/test.cpp
index 3d6d78b..8d36f3a 100644
--- a/src/test.cpp
+++ b/src/test.cpp
@@ -78,6 +78,6 @@ void test(){
moment inputmoment = timeinput();
std::cout << "Time reveived: " << timeprint(inputmoment) << std::endl;
- moment inputmoment2 = timeinput(2012, 11, 26);
+ moment inputmoment2 = timeinput(inputmoment);
std::cout << "Time reveived: " << timeprint(inputmoment2) << std::endl;
}