diff options
author | SanJacobs | 2022-07-12 23:46:53 +0200 |
---|---|---|
committer | SanJacobs | 2022-07-12 23:50:12 +0200 |
commit | 4111b93bd116bf44f7e7b049630f011976b4b25c (patch) | |
tree | 64d15ad4901c9d4c9c41cd5e1e518025d66bd422 /src/test.cpp | |
parent | 62866cac4eb109490ad1d79a3295a3848da8c134 (diff) | |
download | satscalc-4111b93bd116bf44f7e7b049630f011976b4b25c.tar.gz satscalc-4111b93bd116bf44f7e7b049630f011976b4b25c.tar.bz2 satscalc-4111b93bd116bf44f7e7b049630f011976b4b25c.zip |
Made timeinput() vastly less tedious
Diffstat (limited to 'src/test.cpp')
-rw-r--r-- | src/test.cpp | 2 |
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; } |