Skip to content

Commit

Permalink
Remove early eggsperiment
Browse files Browse the repository at this point in the history
  • Loading branch information
eggrobin committed May 31, 2024
1 parent a38287f commit 41b5f1f
Showing 1 changed file with 0 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
import java.util.LinkedHashSet;
import java.util.Locale;
import java.util.Map;
import java.util.Objects;
import java.util.Set;
import java.util.TreeSet;
import org.junit.jupiter.api.Disabled;
Expand Down Expand Up @@ -59,26 +58,6 @@ public class TestProperties extends TestFmwkMinusMinus {
iup.load(UcdProperty.Age).getSet(UcdPropertyValues.Age_Values.V7_0.name());
private static final UnicodeMap<String> nameMap = iup.load(UcdProperty.Name);

@Test
public void TestPropertyComparison() {
final int c1 = "ي ۑ".codePointAt(0);
final int c2 = 0x10EC7;
System.err.println("Property\tU+" + Utility.hex(c1) + "\tU+" + Utility.hex(c2));
for (var property : UcdProperty.values()) {
String p1 = iup.getProperty(property).getValue(c1);
String p2 = iup.getProperty(property).getValue(c2);
if (!Objects.equals(p1, p2)) {
if (IndexUnicodeProperties.getResolvedDefaultValueType(property)
!= DefaultValueType.CODE_POINT
|| !p1.equals(Character.toString(c1))
|| !p2.equals(Character.toString(c2))) {
System.err.println(property.getShortName() + "\t" + p1 + "\t" + p2);
}
}
}
System.exit(1);
}

@Test
public void TestPropertyValuesSetCoverage() {
EnumSet<General_Category_Values> all = EnumSet.allOf(General_Category_Values.class);
Expand Down

0 comments on commit 41b5f1f

Please sign in to comment.