From this screenshot you can see only that at start you output the test and then every tick you compare variables.
There is too little information.
Run your project in debug mode and see for yourself what the global variables show.
If you want more help attach file "c3p"