package net.time4j.calendar.frenchrev;

import net.time4j.format.TextWidth;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;

import java.util.Locale;

import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertThat;


@RunWith(JUnit4.class)
public class FrenchRepublicanEraTest {

    @Test
    public void values() {
        assertThat(
            FrenchRepublicanEra.values().length,
            is(1));
    }

    @Test
    public void eraNames() {
        assertThat(
            FrenchRepublicanEra.REPUBLICAN.getDisplayName(Locale.FRENCH, TextWidth.WIDE),
            is("République Française"));
        assertThat(
            FrenchRepublicanEra.REPUBLICAN.getDisplayName(Locale.FRENCH, TextWidth.ABBREVIATED),
            is("RF"));
    }

}

@@ -635,17 +635,17 @@
     is(%22
-R
+r
 %C3%A9publiqu
@@ -646,17 +646,17 @@
 ublique 
-F
+f
 ran%C3%A7aise

test fix caused by changed data