Created
October 26, 2025 22:21
-
-
Save mcsee/070f75a570089c57742c2c5b88655e3e to your computer and use it in GitHub Desktop.
Revisions
-
mcsee created this gist
Oct 26, 2025 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,10 @@ def test_car_performance(): car = Formula1Car("Red Bull") car.set_speed(320) assert car.speed == 320 car.accelerate(10) assert car.speed == 330 car.brake(50) assert car.speed == 280 car.change_tire("soft") assert car.tire == "soft"