in ,

trustMeBro

trustMeBro | variables-memes, test-memes, function-memes, unit test-memes, validation-memes, compiler-memes, IT-memes, mac-memes, rust-memes | ProgrammerHumor.io
variables-memes, test-memes, function-memes, unit test-memes, validation-memes, compiler-memes, IT-memes, mac-memes, rust-memes | ProgrammerHumor.io

[text] freT That was fun wrote a 50line long unit test that does multiple iterations checking different aspects of some convenience functions and while the test passed was scratching my head as to why the breakpoint had set to step through and double check them wasnt getting hit. Turns out MSVC analyzed my unit test the preprocessor macros and the inline functions it used traced the entire control flow from start to finish and determined that there were no variables. that could possibly result in any different outcome and optimized the entire unit test down to a By I mean guess thats validation that the logic s sound… Is that basically the compiler saying trust me bro