Implement a class named Calculator in the /app/ directory that provides basic arithmetic operations. The class should have the following methods:
add(a: float, b: float) -> float: This method should return the sum of a and b.
subtract(a: float, b: float) -> float: This method should return the result of subtracting b from a.
multiply(a: float, b: float) -> float: This method should return the product of a and b.
divide(a: float, b: float) -> float: This method should return the result of dividing a by b. If b is zero, the method should raise a ValueError with the message "Cannot divide by zero."
Ensure that the methods handle floating point inputs accurately and return results as floating-point numbers. Write unit tests to verify that each method behaves as expected, including edge cases for the divide operation when b is zero.