Commit graph

25 commits

Author SHA1 Message Date
afischerdev
6b3cfb4c91 added a parameter test 2023-08-24 10:06:00 +02:00
Manuel Fuhr
c75a8cb703 Enable PMD rule UnnecessaryImport and fix violations 2022-11-14 22:06:18 +01:00
afischerdev
78cd395ca1
Merge pull request #474 from zod/test-routeserver
Tests for RouteServer
2022-11-10 13:07:10 +01:00
Manuel Fuhr
15df3d392d Add testcase for param override 2022-11-09 18:35:44 +01:00
Manuel Fuhr
6f6d99b3e3 Stricter whitespace handling 2022-11-09 07:29:53 +01:00
Manuel Fuhr
fd158dc0ce Cleanup testcases (split, dependencies, assertions) 2022-10-23 10:51:02 +02:00
Manuel Fuhr
3787076839 Move testcases from brouter-server to their modules 2022-10-23 10:22:47 +02:00
Manuel Fuhr
c15913c1ab Reformat whole codebase using Android Studio 2022-07-25 06:14:46 +02:00
Arndt Brenschede
1ea350cb04 MIT license 2019-05-04 20:04:56 +02:00
Arndt Brenschede
68b7ddff5c moved angle calc to util 2019-04-19 11:56:22 +02:00
Arndt Brenschede
19e434facb minor refactoring 2019-04-17 11:33:07 +02:00
Arndt Brenschede
6bd435723f calcAngle back to clockwise positive + fine-tuning 2018-12-15 17:17:29 +01:00
Phyks (Lucas Verney)
240be06018 Fix nogo weights with polylines 2018-12-13 15:00:33 +01:00
Phyks (Lucas Verney)
000f1dfc69 Add tests for RoutingContext.calcAngle 2018-12-11 11:59:59 +01:00
Phyks (Lucas Verney)
1a2a1164f9 Fix a small bug in lat computation in CheapRulerSingleton and update
according to latest master branch.
2018-12-11 11:20:10 +01:00
Phyks (Lucas Verney)
2591f22348 Make nogo weight proportional to nogo distance
Compute the nogo cost as proportional to the length of the segment
inside the nogo area.
2018-12-11 08:53:43 +01:00
Arndt Brenschede
ab2f5e3ae0 Better distance computation (revisited) 2018-12-07 00:45:12 +01:00
Phyks (Lucas Verney)
5a62480bd3 Remove some duplicate codes and magic numbers 2018-12-02 16:00:55 +01:00
ntruchsess
a0198e3b34 add support for open nogo-polygons 2018-02-07 20:50:06 +01:00
ntruchsess
659bbe8d82 fix NogoPolygon radius being modified 2018-02-04 19:25:29 +01:00
ntruchsess
05b0b6d362 more elaborated NogoPolygon unit-test 2018-02-04 18:58:16 +01:00
ntruchsess
1fc6c9e62c fix radius-calculation, clockwise windingnumber and wp-init 2018-01-24 16:05:10 +01:00
ntruchsess
32a49bfa32 add method 'isWithin' for single WP (being called from RoutingContext.cleanNogolist) 2018-01-22 18:59:10 +01:00
ntruchsess
1fd973daf2 rewrite calculation of bounding circle using coslat-transformed lon-values. 2018-01-22 15:39:38 +01:00
ntruchsess
c1048ab62a add OsmNogoPolygon 2018-01-20 18:47:57 +01:00