You are required to implement a class named Calculator in the /app/ directory that performs basic arithmetic operations. The Calculator class should have the following functionalities:
Addition: Implement a method add(a: float, b: float) -> float that returns the sum of a and b.
Subtraction: Implement a method subtract(a: float, b: float) -> float that returns the result of subtracting b from a.
Multiplication: Implement a method multiply(a: float, b: float) -> float that returns the product of a and b.
Division: Implement a method divide(a: float, b: float) -> float that 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:
Ensure that all methods perform operations on floating-point numbers and return results as floats.
The division method must handle division by zero appropriately.
By fulfilling these requirements, the implementation will ensure that all provided test cases validate successfully.