}
@Test
public void test4647Matching() throws Exception {
Lang lang = new Lang("en-Latn-US-valencia");
Range range1 = new Range("*",true);
Range range2 = new Range("en-*",true);
Range range3 = new Range("en-Latn-*",true);
Range range4 = new Range("en-US-*",true);
Range range5 = new Range("en-*-US-*",true);
Range range6 = new Range("*-US",true);
Range range7 = new Range("*-valencia",true);
Range range8 = new Range("*-FR",true);
assertTrue(range1.matches(lang,true));
assertTrue(range2.matches(lang,true));
assertTrue(range3.matches(lang,true));
assertTrue(range4.matches(lang,true));
assertTrue(range5.matches(lang,true));
assertTrue(range6.matches(lang,true));
assertTrue(range7.matches(lang,true));
assertFalse(range8.matches(lang,true));
}