LCOV - code coverage report
Current view: top level - app/src/Dynamic/Policy - Action.cpp (source / functions) Hit Total Coverage
Test: coverage.info Lines: 0 9 0.0 %
Date: 2023-08-17 16:45:52 Functions: 0 3 0.0 %

          Line data    Source code
       1             : #include "Dynamic/Policy/Action.hpp"
       2             : 
       3             : #include "Dynamic/Env/Connection.hpp"
       4             : #include "Dynamic/Env/Lane.hpp"
       5             : 
       6             : using namespace std;
       7             : using namespace Dynamic::Env;
       8             : 
       9           0 : Action::Action(
      10             :     Connection &connection_,
      11             :     Lane       &lane_
      12           0 : ):
      13           0 :     connection(connection_), lane(lane_) {}
      14             : 
      15           0 : Action::Action():
      16           0 :     connection(Connection::LEAVE), lane(Lane::INVALID) {}
      17             : 
      18           0 : bool Action::operator<(const Action &other) const {
      19           0 :     if(connection != other.connection)
      20           0 :         return connection < other.connection;
      21             :     else
      22           0 :         return lane < other.lane;
      23             : }

Generated by: LCOV version 1.14