Implement a Calculator class in the /app/ directory that performs basic arithmetic operations. The class should have the following functionalities:
Addition: Implement a method add(a, b) that takes two numbers a and b and returns their sum.
Subtraction: Implement a method subtract(a, b) that takes two numbers a and b and returns the result of subtracting b from a.
Multiplication: Implement a method multiply(a, b) that takes two numbers a and b and returns their product.
Division: Implement a method divide(a, b) that takes two numbers a and b and 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 for Tests to Pass
The add method should return the correct sum for positive and negative integers, as well as floating-point numbers.
The subtract method should return the correct difference for positive and negative integers, and floating-point numbers.
The multiply method should return the correct product for positive and negative integers, and floating-point numbers.
The divide method should return the correct quotient for positive and negative integers, and floating-point numbers. It must also correctly handle the case where b is zero by raising a ValueError with the appropriate message.
Your implementation must not depend on any external libraries. Please ensure that all methods are defined as part of the Calculator class and are accessible when an instance of the class is created.