From 9baab6bf9030abb0802f7a7e05d295a7cddeb470 Mon Sep 17 00:00:00 2001 From: Alexander Vasarab Date: Tue, 23 Jun 2020 20:54:41 -0700 Subject: [PATCH 1/1] Minor improvement to test --- tests/test.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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']) -- 2.30.2