Checks route projection and viewport offsets on the street map.
Subsystem: Avionics, navigation and flight guidance
Fixture/harness: streetmapprojectiontests
Setup: The standalone StreetMapProjectionTests harness owns the inputs, local helpers and assertion sink used by the case files below.
Build/entry point: Tests/StreetMapProjectionTests.vcxproj; declared configurations: Debug|Win32.
StreetMapProjectionTests.cpp
Source: Tests/StreetMapProjectionTests.cpp
Entry-point checks
Fixture: Street Map Projection tests
Case symbol: main
Source: Tests/StreetMapProjectionTests.cpp:19
- Test
- Entry-point checks: a missing StreetView must not provide a route viewport; a route node at the vehicle has a separate center offset; the sampled map corner does not use the vehicle layout origin.
Source check messages (including original failure wording)
-
a missing StreetView must not provide a route viewport
-
a route node at the vehicle has a separate center offset
-
the sampled map corner does not use the vehicle layout origin
-
east/west route distances use a different magnification
-
north/south route distances use a different magnification
-
the route does not follow a changed map crop
-
integer crop rounding was replaced with a hard-coded geometric center
-
switching vehicle layouts leaves the route at the old origin
-
a one-texel pan must move the route exactly two pixels at maximum zoom
-
the route center drifts from the fixed marker during panning or zooming
-
the road calibration must remain three screen pixels at every zoom
-
panning exposes an empty strip at the screen origin
-
the bitmap fails to cover the right or bottom edge of the XML screen
-
calibration changes the scale of the route relative to the map
-
repeated frames accumulate the bitmap pan