1 | <?php |
||
15 | class FinddestinationTest extends ParserHookTest { |
||
16 | |||
17 | /** |
||
18 | * @var string[] |
||
19 | */ |
||
20 | private $locations = [ |
||
21 | '4,2', |
||
22 | '4.2,-42', |
||
23 | ]; |
||
24 | |||
25 | private $bearings = [ |
||
26 | 1, |
||
27 | 42, |
||
28 | -42, |
||
29 | 0, |
||
30 | 4.2, |
||
31 | ]; |
||
32 | |||
33 | private $distances = [ |
||
34 | '42' => 42, |
||
35 | '0' => 0, |
||
36 | '42 m' => 42, |
||
37 | '42 km' => 42000, |
||
38 | '4.2 km' => 4200, |
||
39 | ]; |
||
40 | |||
41 | /** |
||
42 | * @see ParserHookTest::parametersProvider |
||
43 | */ |
||
44 | public function parametersProvider() { |
||
55 | |||
56 | /** |
||
57 | * @see ParserHookTest::processingProvider |
||
58 | */ |
||
59 | public function processingProvider() { |
||
86 | |||
87 | /** |
||
88 | * @see ParserHookTest::getInstance |
||
89 | */ |
||
90 | protected function getInstance() { |
||
93 | |||
94 | } |