Test getValue method
implemented 4 test cases (negative, boundary, casting, and overly
precise inputs) for getValue method and created PRECISION variable to
apply correct precision