Develop a simple calculator class that performs basic arithmetic operations: addition, subtraction, multiplication, and division. The class should be designed to handle both integer and float inputs. It should include the following methods:
add(a: float, b: float) -> float: Returns the sum of a and b.
subtract(a: float, b: float) -> float: Returns the difference when b is subtracted from a.
multiply(a: float, b: float) -> float: Returns the product of a and b.
divide(a: float, b: float) -> float: Returns the result of dividing a by b. If b is zero, the method should raise a ValueError with the message "Cannot divide by zero".
Requirements:
Create a class named Calculator in a file located at /app/calculator.py.
Each method should be thoroughly tested to ensure correct functionality and handle edge cases like division by zero.
Ensure that all test cases provided in the test code pass successfully.
Implement the class using standard Python practices, and consider adding docstrings to each method for clarity.