}
}
public void testDefaultVersionAliases() {
try {
UnicodeProperties properties = new UnicodeProperties();
IntCharSet set_1
= properties.getIntCharSet("General Category : Other Letter");
assertNotNull("Null interval set returned for "
+"\\p{General Category : Other Letter}", set_1);
assertTrue("Empty interval set returned for "
+ "\\p{General Category : Other Letter}",
set_1.containsElements());
IntCharSet set_2 = properties.getIntCharSet("Lo");
assertNotNull("Null interval set returned for \\p{Lo}", set_2);
assertTrue("Empty interval set returned for \\p{Lo}",
set_1.containsElements());
assertTrue("\\p{General Category : Other Letter} and \\p{Lo} should"
+" return the same thing.", set_1.equals(set_2));
set_1 = properties.getIntCharSet(" Script:Tibetan ");
assertNotNull("Null interval set returned for \\p{ Script:Tibetan }",
set_1);
assertTrue("Empty interval set returned for \\p{ Script:Tibetan }",
set_1.containsElements());
set_2 = properties.getIntCharSet("-_T i b t_-");
assertNotNull("Null interval set returned for \\p{-_T i b t_-}", set_2);
assertTrue("Empty interval set returned for \\p{-_T i b t_-}",
set_1.containsElements());
assertTrue("\\p{ Script:Tibetan } and \\p{-_T i b t_-} should"
+" return the same thing.", set_1.equals(set_2));