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

Functions

int main (int argc, char **argv)
 
 TEST (JobList, append)
 
 TEST (JobList, append_doubled)
 
 TEST (JobList, update)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

◆ TEST() [1/3]

TEST ( JobList  ,
append   
)
Note
Test basic functionality. Test adding a job to an empty job list and (test whether adding worked by calling update).

◆ TEST() [2/3]

TEST ( JobList  ,
append_doubled   
)
Note
Test basic functionality. Test adding a job to a job list that already has an identical job (test whether adding worked by calling update)
  • the goal is to test whether the old job was removed when adding identical one.

◆ TEST() [3/3]

TEST ( JobList  ,
update   
)
Note
Test basic functionality. Test updating process with a job that will end after 2 updates and will mark that it has cleaned up.