X-Git-Url: https://wylark.com/src/munter.git/blobdiff_plain/ac1b24e5ece40164f50b17a27dda73ddd4e41b11..385e8120f1bddf857620c84db7f6dcb71593f265:/tests/test.py diff --git a/tests/test.py b/tests/test.py index 5008334..5606d30 100755 --- a/tests/test.py +++ b/tests/test.py @@ -2,5 +2,10 @@ # -*- coding: utf-8 -*- import munter +# positional args invocation est = munter.time_calc(3.2, 2300, 'average', 'uphill', 'imperial') -print("Time Estimate: %s hours" % est['time']) +print("Time estimate (3.2 mi, +2300'): %s hours" % est['time']) + +# defaults with one override invocation +est = munter.time_calc(4.5, 2650, fitness='slow') +print("Time estimate (4.5 mi, +2650, slow): %s hours" % est['time'])