You are here

public function RawTest::provideValidInput in Search API Location 8

Data provider for ::testValidParsedInput.

File

tests/src/Kernel/RawTest.php, line 78

Class

RawTest
Tests RawTest plugin parsing.

Namespace

Drupal\Tests\search_api_location\Kernel

Code

public function provideValidInput() {
  return [
    'simple' => [
      '20,67',
      '20,67',
    ],
    'with decimals' => [
      '20.548,67.945',
      '20.548,67.945',
    ],
    'with spaces' => [
      '  20.548,67.945',
      '20.548,67.945',
    ],
  ];
}