Considering the advantages of the two ways, a new approach is proposed which combines them with each other by using graphs to form macro-call instruction.
鉴于两者的优越性,提出一种新的编程方法,将图形编程和宏编程相结合,用图形化的方法形成对宏程序的调用指令。
It ACTS like a macro in this context, where calling the method of function via the closure makes the function call in the context of where it's defined.
它在此上下文中用作宏,通过闭包调用函数方法将在定义它的上下文中执行函数调用。
Just making a call to the predefined RUN_ALL_TESTS macro does the trick, as opposed to creating or deriving a separate runner class for test execution.
只需调用预定义的run_all_tests宏,而不需要通过创建或驱动单独的运行器类来执行测试。
应用推荐