Think? They know that. So much, that if they had code that does it, they wouldn't bother with a test.
But that's because they know how the code is written. If they didn't, would they still not bother?
Check it out.
https://www.everydayunittesting.com/2022/08/black-and-white.html #software
Black and White | Everyday Unit Testing
Black box, white box. Does our choice of perspective matter? We've landed this function declaration: public int add(int a, int b); We're told that it adds two integer numbers. How should we test it? Let's see, we can check that sending 2 and 3 returns 5. We can also send 3 and 4, and expect