From: Shane Jaroch Date: Fri, 15 Dec 2023 13:19:23 +0000 (-0500) Subject: fix test, range(1, 20) -> range(1, 20 + 1) X-Git-Url: https://git.nutra.tk/v2?a=commitdiff_plain;h=f988fedd6a304de22198484e696168da5a8a6b78;p=nutratech%2Fcli.git fix test, range(1, 20) -> range(1, 20 + 1) --- diff --git a/ntclient/services/calculate.py b/ntclient/services/calculate.py index 4ac5b25..5bdd710 100644 --- a/ntclient/services/calculate.py +++ b/ntclient/services/calculate.py @@ -18,7 +18,7 @@ from ntclient.utils import Gender # The rep values used in the calculation COMMON_N_REPS_MIN = 1 COMMON_N_REPS_MAX = 20 -COMMON_N_REPS = range(COMMON_N_REPS_MIN, COMMON_N_REPS_MAX) +COMMON_N_REPS = range(COMMON_N_REPS_MIN, COMMON_N_REPS_MAX + 1) # common_n_reps = (1, 2, 3, 5, 6, 8, 10, 12, 15, 20)