Understanding unit tests and integration tests

Today, we're going to be talking all about tests. After the last few days, you've actually experienced some of the benefits of tests. I wrote a test that checked for a specific behavior in our smart contract and it failed, and then you wrote a code and you knew that it delivered the expected results when the test passed.