Merge branch 'release-2.3.0'
[munter.git] / tests / test.py
index 5606d30fb76b7e71c3988caab0301a8538f8bfc1..8090894908d5a278c34aa62e6303eff6101160aa 100755 (executable)
@@ -1,11 +1,12 @@
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
 #! /usr/bin/env python
 # -*- coding: utf-8 -*-
+"""rudimentary test program for Munter.py"""
 import munter
 
 # positional args invocation
 import munter
 
 # positional args invocation
-est = munter.time_calc(3.2, 2300, 'average', 'uphill', 'imperial')
-print("Time estimate (3.2 mi, +2300'): %s hours" % est['time'])
+EST = munter.time_calc(3.2, 2300, 'average', 'uphill', 'imperial')
+print("Time estimate (3.2 mi, +2300'): %s hours" % EST['time'])
 
 # defaults with one override invocation
 
 # 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'])
+EST = munter.time_calc(4.5, 2650, fitness='slow')
+print("Time estimate (4.5 mi, +2650, slow): %s hours" % EST['time'])