yes.And that's one of the main reasons to buy a new inexpensive car under warranty -- guaranteed costs thanks to the warranty. Really helps budgeting.
much unlike say... buying a used car and you are in no way mechanically inclined where you don't know what could go wrong and when and when things happen... who knows what it'll cost and how long it'll take.
predictable and affordable ownership is key