So if you looked at the updated test files that I posted to the last lecture, you will have noticed
that I made some additional changes that I didn't actually mention and they're very straightforward.
So what I did was I took all of those tests where things were done manually one step at a time, and
I turned them into table tests, just like the one you see right here where I define the variable reservation
tests, I describe the struct and then I have the content one test for each row in that particular struct.
And I did it for pretty much all of the tests in this file.
And the reason I did that is that once you figured out how to write a test, chances are you are going
to write tests as table test because it's so much cleaner and you have a lot less code.
So you shouldn't see anything too complex in here.
All of the tests themselves remain, you know, functionally the same.
They're just changed to table tests.
And it makes things a lot simpler to just add a new test.
I just add a row to this struct and you just go on and write additional tests as necessary.
So hopefully this makes sense to you and hopefully you understand how table tests work.
And I do recommend you use them whenever you possibly can because it just generates less code and it
makes it easier to update your tests.