olsonk / pyRosita

0 stars 0 forks source link

Add helper function for limiting values of set_ and move() functions #6

Closed olsonk closed 6 years ago

olsonk commented 6 years ago

Code often calls for checking what values were requested and ensuring that these values are within certain boundaries. Create a helper function that can be used with the set_nod, set_up, etc. functions and move() functions to ensure that the user is passing in values between 0 and 100.

olsonk commented 6 years ago

Done. See this commit.