Python Code Challenge

236 - Test a class that represents a car: Write a Car class that has attributes for the make, model, year, and mileage. Then, write test cases to ensure that the class works correctly, including testing the initialization of the object, methods for updating the mileage, and checking that the car details are correct.