Search in sources :

Example 1 with Russian

use of org.wikivoyage.listings.language.russian.Russian in project wikivoyage-listings by baturin.

the class InputTests method processRussianRoadTemplate.

@Test
public void processRussianRoadTemplate() throws Exception {
    Listing poi = parseResourceSinglePOI("russian-road-template.wikicode", new Russian());
    Assert.assertEquals("На 38 км Ново-Рижского шоссе М9 (19 км от МКАД) " + "свернуть по указателю на пирамиду.", poi.getDirections());
}
Also used : Russian(org.wikivoyage.listings.language.russian.Russian) Listing(org.wikivoyage.listings.entity.Listing) Test(org.junit.Test)

Aggregations

Test (org.junit.Test)1 Listing (org.wikivoyage.listings.entity.Listing)1 Russian (org.wikivoyage.listings.language.russian.Russian)1