File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
core/src/test/java/com/graphhopper/util Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -149,4 +149,17 @@ private static class Coordinate {
149
149
this .y = y ;
150
150
}
151
151
}
152
+
153
+ // #### IFT3913 ####
154
+ @ Test
155
+ public void testAzimuth2compassPoint () {
156
+ assertEquals ("N" , AC .azimuth2compassPoint (22.0 ));
157
+ assertEquals ("NE" , AC .azimuth2compassPoint (67.0 ));
158
+ assertEquals ("E" , AC .azimuth2compassPoint (112.0 ));
159
+ assertEquals ("SE" , AC .azimuth2compassPoint (157.0 ));
160
+ assertEquals ("S" , AC .azimuth2compassPoint (202.0 ));
161
+ assertEquals ("SW" , AC .azimuth2compassPoint (247.0 ));
162
+ assertEquals ("W" , AC .azimuth2compassPoint (292.0 ));
163
+ assertEquals ("NW" , AC .azimuth2compassPoint (337.0 ));
164
+ }
152
165
}
Original file line number Diff line number Diff line change 287
287
</execution >
288
288
<execution >
289
289
<id >report</id >
290
- <phase >test </phase >
290
+ <phase >verify </phase >
291
291
<goals >
292
292
<goal >report</goal >
293
293
</goals >
You can’t perform that action at this time.
0 commit comments