Implement a Python class Calculator in a file named /app/solution.py that provides basic arithmetic operations. The class should contain 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, raise a ValueError with the message "Cannot divide by zero".
Requirements:
The Calculator class must have no additional attributes other than those required by the methods.
Each method should accept two float arguments and return a float result.
Implement error handling for the divide method to ensure it raises a ValueError when the divisor is zero.
Ensure that all methods are implemented correctly so that they satisfy the assertions in the given test code.