Some testing frameworks, like JUnit, might mark a test as passed or failed prematurely if there are incorrect assertions or missing verifications. Ensure: Assertions and verifications are placed correctly. The test doesn’t conclude after testing the first function.
You can also test both the function seprately