_internal/TestSuite2/JSONDebug/JSON_ASSERT.cpp
/**
 *	Make sure asserts that pass do not call the callback or run extra code
 */
Make sure asserts that pass do not call the callback or run extra code
Make sure asserts that pass do not call the callback or run extra code
void testJSONDebug_JSON_ASSERT::testPass(void){
	#if defined JSON_DEBUG
		#ifndef JSON_STDERROR
			JSON_ASSERT(1 == 1, fail_consta);
			assertEquals(last, null_consta);  
		#endif
	#endif
}
void testJSONDebug_JSON_ASSERT :: testPass ( void ) { #if defined JSON_DEBUG #ifndef JSON_STDERROR JSON_ASSERT ( 1 == 1 , fail_consta ) ; assertEquals ( last , null_consta ) ; #endif #endif }
Make sure asserts that pass do not call the callback or run extra code
Make sure asserts that pass do not call the callback or run extra code
//make sure the callback was not called