Implement a class called Calculator in a file named /app/solution.py that provides basic arithmetic operations. The Calculator class should include the following functionalities:
Addition: A method add(a: float, b: float) -> float that returns the sum of a and b.
Subtraction: A method subtract(a: float, b: float) -> float that returns the result of subtracting b from a.
Multiplication: A method multiply(a: float, b: float) -> float that returns the product of a and b.
Division: A method divide(a: float, b: float) -> float that returns the result of dividing a by b. If b is zero, it should raise a ValueError with the message "Cannot divide by zero."
Each method should handle and return the correct output according to standard arithmetic rules. Execute the implementation using floating-point arithmetic and ensure that methods can handle both positive and negative numbers as inputs.
The implementation of the Calculator class should satisfy the unit tests present in the test code, which check the correctness of arithmetic operations including edge cases like division by zero. Make sure to thoroughly test the functionality to ensure robust performance across various scenarios and number types.