LCOV - code coverage report
Current view: top level - tests/intersection - IntersectionTown01Test.hpp (source / functions) Hit Total Coverage
Test: ad_map_access Lines: 16 16 100.0 %
Date: 2022-10-04 09:48:07 Functions: 8 8 100.0 %
Branches: 0 0 -

           Branch data     Line data    Source code
       1                 :            : // ----------------- BEGIN LICENSE BLOCK ---------------------------------
       2                 :            : //
       3                 :            : // Copyright (C) 2018-2021 Intel Corporation
       4                 :            : //
       5                 :            : // SPDX-License-Identifier: MIT
       6                 :            : //
       7                 :            : // ----------------- END LICENSE BLOCK -----------------------------------
       8                 :            : 
       9                 :            : #pragma once
      10                 :            : 
      11                 :            : #include "SyntheticIntersectionTestBase.hpp"
      12                 :            : 
      13                 :            : namespace ad {
      14                 :            : namespace map {
      15                 :            : 
      16                 :            : struct IntersectionTown01WestToSouthTest : virtual SyntheticIntersectionTestBase
      17                 :            : {
      18                 :          2 :   virtual point::GeoPoint getGeoFromSouth() const override
      19                 :            :   {
      20                 :          2 :     return point::createGeoPoint(point::Longitude(0.0032321), point::Latitude(0.0000165612), point::Altitude(0));
      21                 :            :   }
      22                 :            : 
      23                 :          2 :   virtual point::GeoPoint getGeoToSouth() const override
      24                 :            :   {
      25                 :          2 :     return point::createGeoPoint(point::Longitude(0.0032321), point::Latitude(-0.0000169493), point::Altitude(0));
      26                 :            :   }
      27                 :            : 
      28                 :          2 :   virtual point::GeoPoint getGeoFromWest() const override
      29                 :            :   {
      30                 :          2 :     return point::createGeoPoint(point::Longitude(0.0030455), point::Latitude(-0.0002023962), point::Altitude(0));
      31                 :            :   }
      32                 :            : 
      33                 :          2 :   virtual point::GeoPoint getGeoToWest() const override
      34                 :            :   {
      35                 :          2 :     return point::createGeoPoint(point::Longitude(0.003000), point::Latitude(-0.0002566106), point::Altitude(0));
      36                 :            :   }
      37                 :            : 
      38                 :          2 :   virtual point::GeoPoint getGeoFromNorth() const override
      39                 :            :   {
      40                 :          2 :     return point::createGeoPoint(point::Longitude(0.0028), point::Latitude(-0.0000170657), point::Altitude(0));
      41                 :            :   }
      42                 :            : 
      43                 :          2 :   virtual point::GeoPoint getGeoToNorth() const override
      44                 :            :   {
      45                 :          2 :     return point::createGeoPoint(point::Longitude(0.0028), point::Latitude(0.0000237813), point::Altitude(0));
      46                 :            :   }
      47                 :            : 
      48                 :          2 :   virtual point::GeoPoint getGeoFromEast() const override
      49                 :            :   {
      50                 :          2 :     return point::GeoPoint();
      51                 :            :   }
      52                 :            : 
      53                 :          2 :   virtual point::GeoPoint getGeoToEast() const override
      54                 :            :   {
      55                 :          2 :     return point::GeoPoint();
      56                 :            :   }
      57                 :            : };
      58                 :            : 
      59                 :            : } // namespace map
      60                 :            : } // namespace ad

Generated by: LCOV version 1.14