scenario_simulator_v2 C++ API
Functions
test_job.cpp File Reference
#include <gtest/gtest.h>
#include <traffic_simulator/job/job.hpp>
Include dependency graph for test_job.cpp:

Functions

int main (int argc, char **argv)
 
 TEST (Job, onUpdate)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ TEST()

TEST ( Job  ,
onUpdate   
)
Note
Test basic functionality. Test functions execution correctness with a function on update that returns true and function on cleanup that marks that it was called
  • the goal is to check whether the function on cleanup is called after calling onUpdate (which immediately finishes).