.
There are many ways to run a test, like what seems to be the only expression from the outside. And some of them use parts already provided by the standard library, so you don’t have to write a lot of code yourself. However, they will inevitably use some function call and / or loop at some point that you have already excluded.
So, given the limitations in your question: No, there is no way.
source
share