Moved part letter to BaseGlyphSet support
This commit is contained in:
parent
30287a48b7
commit
0bd9a27ffa
30 changed files with 206 additions and 252 deletions
|
|
@ -60,21 +60,4 @@ public class BasePartFactoryTest {
|
|||
Assertions.assertTrue(global.size() > 1);
|
||||
Assertions.assertTrue(duplicate);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGlobalLetterMap() {
|
||||
boolean duplicate = false;
|
||||
Map<String,String> global = new HashMap<>();
|
||||
for (int base:BasePartFactory.INSTANCE.BãßBases()) {
|
||||
for (BãßBȍőnPartʸᴰ<?> part:BasePartFactory.INSTANCE.BãßBuildPartsByBase(base)) {
|
||||
if (global.containsKey(part.BȍőnIdentifierLetter())) {
|
||||
duplicate = true;
|
||||
break;
|
||||
}
|
||||
global.put(part.BȍőnIdentifierLetter(), part.BȍőnChinaValue());
|
||||
}
|
||||
}
|
||||
Assertions.assertTrue(global.size() > 1);
|
||||
Assertions.assertTrue(duplicate);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ public class T02PartBinaryTest {
|
|||
public void testBasePart() {
|
||||
for (T02PartBinary value:T02PartBinary.values()) {
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ public class T03PartTritTest {
|
|||
public void testBasePart() {
|
||||
for (T03PartTrit value:T03PartTrit.values()) {
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ public class T04PartQuadTest {
|
|||
public void testBasePart() {
|
||||
for (T04PartQuad value:T04PartQuad.values()) {
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||
Assertions.assertNotNull(value.BȍőnAlt1Value());
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ public class T05PartPentalTest {
|
|||
public void testBasePart() {
|
||||
for (T05PartPental value:T05PartPental.values()) {
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ public class T06PartSeximalTest {
|
|||
public void testBasePart() {
|
||||
for (T06PartSeximal value:T06PartSeximal.values()) {
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||
Assertions.assertNotNull(value.BȍőnAlt1Value());
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ public class T07PartPlanItTest {
|
|||
public void testBasePart() {
|
||||
for (T07PartPlanIt value:T07PartPlanIt.values()) {
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||
Assertions.assertNotNull(value.BȍőnAlt1Value());
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ public class T08PartOctalTest {
|
|||
public void testBasePart() {
|
||||
for (T08PartOctal value:T08PartOctal.values()) {
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||
Assertions.assertNotNull(value.BȍőnAlt1Value());
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ public class T10PartDecimalTest {
|
|||
public void testBasePart() {
|
||||
for (T10PartDecimal value:T10PartDecimal.values()) {
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ public class T11PartUndecimalTest {
|
|||
public void testBasePart() {
|
||||
for (T11PartUndecimal value:T11PartUndecimal.values()) {
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ public class T12PartUncialTest {
|
|||
public void testBasePart() {
|
||||
for (T12PartUncial value:T12PartUncial.values()) {
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||
Assertions.assertNotNull(value.BȍőnAlt1Value());
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ public class T16PartHexTest {
|
|||
public void testBasePart() {
|
||||
for (T16PartHex value:T16PartHex.values()) {
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ public class T20PartScoreTest {
|
|||
public void testBasePart() {
|
||||
for (T20PartScore value:T20PartScore.values()) {
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||
Assertions.assertNotNull(value.BȍőnAlt1Value());
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ public class T60SexagesimalTest {
|
|||
public void testBasePart() {
|
||||
for (T60PartSexagesimal value:T60PartSexagesimal.values()) {
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue