Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Additional expectations #77
I think it would be more convenient if three additional expectations were available for numeric values, chiefly:
I know this functionality is available by having the user write something like:
But to me this is unsatisfying and it would be preferable for the user to do the following:
This makes testing even simpler and more straightforward as it allows tests to be written with floor and ceiling values, which are often easier to think of than exact equalities in R.
But, I understand this might be considered cluttering up the code base unnecessarily. I use these functions in my own local