Corrected naming

This commit is contained in:
Willem Cazander 2022-02-02 19:24:31 +01:00
parent ac3f030322
commit b4106211c8
21 changed files with 214 additions and 214 deletions

View file

@ -25,8 +25,8 @@ public class BasePartFactoryTest {
Map<String,String> global = new HashMap<>();
for (int base:BasePartFactory.INSTANCE.BãßBases()) {
for (BãßBȍőnPartʸᴰ<?> part:BasePartFactory.INSTANCE.BãßBuildPartsByBase(base)) {
Assertions.assertFalse(global.containsKey(part.getChinaKey()));
global.put(part.getChinaKey(), part.getChinaValue());
Assertions.assertFalse(global.containsKey(part.BȍőnChinaKey()));
global.put(part.BȍőnChinaKey(), part.BȍőnChinaValue());
}
}
Assertions.assertTrue(global.size() > 1);
@ -37,8 +37,8 @@ public class BasePartFactoryTest {
Map<String,String> global = new HashMap<>();
for (int base:BasePartFactory.INSTANCE.BãßBases()) {
for (BãßBȍőnPartʸᴰ<?> part:BasePartFactory.INSTANCE.BãßBuildPartsByBase(base)) {
Assertions.assertFalse(global.containsKey(part.getChinaValue()));
global.put(part.getChinaValue(), part.getChinaValue());
Assertions.assertFalse(global.containsKey(part.BȍőnChinaValue()));
global.put(part.BȍőnChinaValue(), part.BȍőnChinaValue());
}
}
Assertions.assertTrue(global.size() > 1);
@ -50,11 +50,11 @@ public class BasePartFactoryTest {
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.getIdentifierTone())) {
if (global.containsKey(part.BȍőnIdentifierTone())) {
duplicate = true;
break;
}
global.put(part.getIdentifierTone(), part.getChinaValue());
global.put(part.BȍőnIdentifierTone(), part.BȍőnChinaValue());
}
}
Assertions.assertTrue(global.size() > 1);
@ -67,11 +67,11 @@ public class BasePartFactoryTest {
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.getIdentifierLetter())) {
if (global.containsKey(part.BȍőnIdentifierLetter())) {
duplicate = true;
break;
}
global.put(part.getIdentifierLetter(), part.getChinaValue());
global.put(part.BȍőnIdentifierLetter(), part.BȍőnChinaValue());
}
}
Assertions.assertTrue(global.size() > 1);

View file

@ -11,22 +11,22 @@ public class T02PartBinaryTest {
@Test
public void testBasePart() {
for (T02PartBinary value:T02PartBinary.values()) {
Assertions.assertNotNull(value.getIdentifierTone());
Assertions.assertNotNull(value.getIdentifierLetter());
Assertions.assertNotNull(value.getChinaKey());
Assertions.assertNotNull(value.getChinaValue());
Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue());
}
}
@Test
public void testToneMap() {
Assertions.assertEquals(T02PartBinary.PART_1, T02PartBinary.PART_1.staticValueOfTone("˧"));
Assertions.assertEquals(T02PartBinary.PART_2, T02PartBinary.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T02PartBinary.PART_1, T02PartBinary.PART_1.BãßValueOfTone("˧"));
Assertions.assertEquals(T02PartBinary.PART_2, T02PartBinary.PART_1.BãßValueOfTone(""));
}
@Test
public void testChinaMap() {
Assertions.assertEquals(T02PartBinary.PART_1, T02PartBinary.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T02PartBinary.PART_2, T02PartBinary.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T02PartBinary.PART_1, T02PartBinary.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T02PartBinary.PART_2, T02PartBinary.PART_1.BãßValueOfChina(""));
}
}

View file

@ -11,24 +11,24 @@ public class T03PartTritTest {
@Test
public void testBasePart() {
for (T03PartTrit value:T03PartTrit.values()) {
Assertions.assertNotNull(value.getIdentifierTone());
Assertions.assertNotNull(value.getIdentifierLetter());
Assertions.assertNotNull(value.getChinaKey());
Assertions.assertNotNull(value.getChinaValue());
Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue());
}
}
@Test
public void testToneMap() {
Assertions.assertEquals(T03PartTrit.PART_1, T03PartTrit.PART_1.staticValueOfTone("˦"));
Assertions.assertEquals(T03PartTrit.PART_2, T03PartTrit.PART_1.staticValueOfTone("˧"));
Assertions.assertEquals(T03PartTrit.PART_3, T03PartTrit.PART_1.staticValueOfTone("˨"));
Assertions.assertEquals(T03PartTrit.PART_1, T03PartTrit.PART_1.BãßValueOfTone("˦"));
Assertions.assertEquals(T03PartTrit.PART_2, T03PartTrit.PART_1.BãßValueOfTone("˧"));
Assertions.assertEquals(T03PartTrit.PART_3, T03PartTrit.PART_1.BãßValueOfTone("˨"));
}
@Test
public void testChinaMap() {
Assertions.assertEquals(T03PartTrit.PART_1, T03PartTrit.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T03PartTrit.PART_2, T03PartTrit.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T03PartTrit.PART_3, T03PartTrit.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T03PartTrit.PART_1, T03PartTrit.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T03PartTrit.PART_2, T03PartTrit.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T03PartTrit.PART_3, T03PartTrit.PART_1.BãßValueOfChina(""));
}
}

View file

@ -11,13 +11,13 @@ public class T04PartQuadTest {
@Test
public void testBasePart() {
for (T04PartQuad value:T04PartQuad.values()) {
Assertions.assertNotNull(value.getIdentifierTone());
Assertions.assertNotNull(value.getIdentifierLetter());
Assertions.assertNotNull(value.getChinaKey());
Assertions.assertNotNull(value.getChinaValue());
Assertions.assertNotNull(value.getAlt1Value());
Assertions.assertNotNull(value.staticAlt1Name());
Assertions.assertNotNull(value.staticAlt1Website());
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());
Assertions.assertNotNull(value.BãßAlt1Name());
Assertions.assertNotNull(value.BãßAlt1Website());
}
}
@ -39,17 +39,17 @@ public class T04PartQuadTest {
@Test
public void testToneMap() {
Assertions.assertEquals(T04PartQuad.PART_1, T04PartQuad.PART_1.staticValueOfTone("˥"));
Assertions.assertEquals(T04PartQuad.PART_2, T04PartQuad.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T04PartQuad.PART_3, T04PartQuad.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T04PartQuad.PART_4, T04PartQuad.PART_1.staticValueOfTone("˩"));
Assertions.assertEquals(T04PartQuad.PART_1, T04PartQuad.PART_1.BãßValueOfTone("˥"));
Assertions.assertEquals(T04PartQuad.PART_2, T04PartQuad.PART_1.BãßValueOfTone(""));
Assertions.assertEquals(T04PartQuad.PART_3, T04PartQuad.PART_1.BãßValueOfTone(""));
Assertions.assertEquals(T04PartQuad.PART_4, T04PartQuad.PART_1.BãßValueOfTone("˩"));
}
@Test
public void testChinaMap() {
Assertions.assertEquals(T04PartQuad.PART_1, T04PartQuad.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T04PartQuad.PART_2, T04PartQuad.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T04PartQuad.PART_3, T04PartQuad.PART_1.staticValueOfChina("西"));
Assertions.assertEquals(T04PartQuad.PART_4, T04PartQuad.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T04PartQuad.PART_1, T04PartQuad.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T04PartQuad.PART_2, T04PartQuad.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T04PartQuad.PART_3, T04PartQuad.PART_1.BãßValueOfChina("西"));
Assertions.assertEquals(T04PartQuad.PART_4, T04PartQuad.PART_1.BãßValueOfChina(""));
}
}

View file

@ -11,28 +11,28 @@ public class T05PartPentalTest {
@Test
public void testBasePart() {
for (T05PartPental value:T05PartPental.values()) {
Assertions.assertNotNull(value.getIdentifierTone());
Assertions.assertNotNull(value.getIdentifierLetter());
Assertions.assertNotNull(value.getChinaKey());
Assertions.assertNotNull(value.getChinaValue());
Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue());
}
}
@Test
public void testToneMap() {
Assertions.assertEquals(T05PartPental.PART_1, T05PartPental.PART_1.staticValueOfTone("˥"));
Assertions.assertEquals(T05PartPental.PART_2, T05PartPental.PART_1.staticValueOfTone("˦"));
Assertions.assertEquals(T05PartPental.PART_3, T05PartPental.PART_1.staticValueOfTone("˧"));
Assertions.assertEquals(T05PartPental.PART_4, T05PartPental.PART_1.staticValueOfTone("˨"));
Assertions.assertEquals(T05PartPental.PART_5, T05PartPental.PART_1.staticValueOfTone("˩"));
Assertions.assertEquals(T05PartPental.PART_1, T05PartPental.PART_1.BãßValueOfTone("˥"));
Assertions.assertEquals(T05PartPental.PART_2, T05PartPental.PART_1.BãßValueOfTone("˦"));
Assertions.assertEquals(T05PartPental.PART_3, T05PartPental.PART_1.BãßValueOfTone("˧"));
Assertions.assertEquals(T05PartPental.PART_4, T05PartPental.PART_1.BãßValueOfTone("˨"));
Assertions.assertEquals(T05PartPental.PART_5, T05PartPental.PART_1.BãßValueOfTone("˩"));
}
@Test
public void testChinaMap() {
Assertions.assertEquals(T05PartPental.PART_1, T05PartPental.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T05PartPental.PART_2, T05PartPental.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T05PartPental.PART_3, T05PartPental.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T05PartPental.PART_4, T05PartPental.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T05PartPental.PART_5, T05PartPental.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T05PartPental.PART_1, T05PartPental.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T05PartPental.PART_2, T05PartPental.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T05PartPental.PART_3, T05PartPental.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T05PartPental.PART_4, T05PartPental.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T05PartPental.PART_5, T05PartPental.PART_1.BãßValueOfChina(""));
}
}

View file

@ -11,29 +11,29 @@ public class T06PartSeximalTest {
@Test
public void testBasePart() {
for (T06PartSeximal value:T06PartSeximal.values()) {
Assertions.assertNotNull(value.getIdentifierTone());
Assertions.assertNotNull(value.getIdentifierLetter());
Assertions.assertNotNull(value.getChinaKey());
Assertions.assertNotNull(value.getChinaValue());
Assertions.assertNotNull(value.getAlt1Value());
Assertions.assertNotNull(value.staticAlt1Name());
Assertions.assertNotNull(value.staticAlt1Website());
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());
Assertions.assertNotNull(value.BãßAlt1Name());
Assertions.assertNotNull(value.BãßAlt1Website());
}
}
@Test
public void testToneMap() {
Assertions.assertEquals(T06PartSeximal.PART_1, T06PartSeximal.PART_1.staticValueOfTone("˦"));
Assertions.assertEquals(T06PartSeximal.PART_2, T06PartSeximal.PART_1.staticValueOfTone("˨"));
Assertions.assertEquals(T06PartSeximal.PART_5, T06PartSeximal.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T06PartSeximal.PART_6, T06PartSeximal.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T06PartSeximal.PART_1, T06PartSeximal.PART_1.BãßValueOfTone("˦"));
Assertions.assertEquals(T06PartSeximal.PART_2, T06PartSeximal.PART_1.BãßValueOfTone("˨"));
Assertions.assertEquals(T06PartSeximal.PART_5, T06PartSeximal.PART_1.BãßValueOfTone(""));
Assertions.assertEquals(T06PartSeximal.PART_6, T06PartSeximal.PART_1.BãßValueOfTone(""));
}
@Test
public void testChinaMap() {
Assertions.assertEquals(T06PartSeximal.PART_1, T06PartSeximal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T06PartSeximal.PART_2, T06PartSeximal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T06PartSeximal.PART_5, T06PartSeximal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T06PartSeximal.PART_6, T06PartSeximal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T06PartSeximal.PART_1, T06PartSeximal.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T06PartSeximal.PART_2, T06PartSeximal.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T06PartSeximal.PART_5, T06PartSeximal.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T06PartSeximal.PART_6, T06PartSeximal.PART_1.BãßValueOfChina(""));
}
}

View file

@ -11,29 +11,29 @@ public class T07PartPlanItTest {
@Test
public void testBasePart() {
for (T07PartPlanIt value:T07PartPlanIt.values()) {
Assertions.assertNotNull(value.getIdentifierTone());
Assertions.assertNotNull(value.getIdentifierLetter());
Assertions.assertNotNull(value.getChinaKey());
Assertions.assertNotNull(value.getChinaValue());
Assertions.assertNotNull(value.getAlt1Value());
Assertions.assertNotNull(value.staticAlt1Name());
Assertions.assertNotNull(value.staticAlt1Website());
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());
Assertions.assertNotNull(value.BãßAlt1Name());
Assertions.assertNotNull(value.BãßAlt1Website());
}
}
@Test
public void testToneMap() {
Assertions.assertEquals(T07PartPlanIt.PART_1, T07PartPlanIt.PART_1.staticValueOfTone("˥"));
Assertions.assertEquals(T07PartPlanIt.PART_2, T07PartPlanIt.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T07PartPlanIt.PART_6, T07PartPlanIt.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T07PartPlanIt.PART_7, T07PartPlanIt.PART_1.staticValueOfTone("˩"));
Assertions.assertEquals(T07PartPlanIt.PART_1, T07PartPlanIt.PART_1.BãßValueOfTone("˥"));
Assertions.assertEquals(T07PartPlanIt.PART_2, T07PartPlanIt.PART_1.BãßValueOfTone(""));
Assertions.assertEquals(T07PartPlanIt.PART_6, T07PartPlanIt.PART_1.BãßValueOfTone(""));
Assertions.assertEquals(T07PartPlanIt.PART_7, T07PartPlanIt.PART_1.BãßValueOfTone("˩"));
}
@Test
public void testChinaMap() {
Assertions.assertEquals(T07PartPlanIt.PART_1, T07PartPlanIt.PART_1.staticValueOfChina("♎︎"));
Assertions.assertEquals(T07PartPlanIt.PART_2, T07PartPlanIt.PART_1.staticValueOfChina("♏︎"));
Assertions.assertEquals(T07PartPlanIt.PART_6, T07PartPlanIt.PART_1.staticValueOfChina("♑︎"));
Assertions.assertEquals(T07PartPlanIt.PART_7, T07PartPlanIt.PART_1.staticValueOfChina("♈︎"));
Assertions.assertEquals(T07PartPlanIt.PART_1, T07PartPlanIt.PART_1.BãßValueOfChina("♎︎"));
Assertions.assertEquals(T07PartPlanIt.PART_2, T07PartPlanIt.PART_1.BãßValueOfChina("♏︎"));
Assertions.assertEquals(T07PartPlanIt.PART_6, T07PartPlanIt.PART_1.BãßValueOfChina("♑︎"));
Assertions.assertEquals(T07PartPlanIt.PART_7, T07PartPlanIt.PART_1.BãßValueOfChina("♈︎"));
}
}

View file

@ -11,32 +11,32 @@ public class T08PartOctalTest {
@Test
public void testBasePart() {
for (T08PartOctal value:T08PartOctal.values()) {
Assertions.assertNotNull(value.getIdentifierTone());
Assertions.assertNotNull(value.getIdentifierLetter());
Assertions.assertNotNull(value.getChinaKey());
Assertions.assertNotNull(value.getChinaValue());
Assertions.assertNotNull(value.getAlt1Value());
Assertions.assertNotNull(value.staticAlt1Name());
Assertions.assertNotNull(value.staticAlt1Website());
Assertions.assertNotNull(value.getAlt2Value());
Assertions.assertNotNull(value.staticAlt2Name());
Assertions.assertNotNull(value.staticAlt2Website());
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());
Assertions.assertNotNull(value.BãßAlt1Name());
Assertions.assertNotNull(value.BãßAlt1Website());
Assertions.assertNotNull(value.BȍőnAlt2Value());
Assertions.assertNotNull(value.BãßAlt2Name());
Assertions.assertNotNull(value.BãßAlt2Website());
}
}
@Test
public void testToneMap() {
Assertions.assertEquals(T08PartOctal.PART_1, T08PartOctal.PART_1.staticValueOfTone("˥"));
Assertions.assertEquals(T08PartOctal.PART_2, T08PartOctal.PART_1.staticValueOfTone("˩"));
Assertions.assertEquals(T08PartOctal.PART_7, T08PartOctal.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T08PartOctal.PART_8, T08PartOctal.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T08PartOctal.PART_1, T08PartOctal.PART_1.BãßValueOfTone("˥"));
Assertions.assertEquals(T08PartOctal.PART_2, T08PartOctal.PART_1.BãßValueOfTone("˩"));
Assertions.assertEquals(T08PartOctal.PART_7, T08PartOctal.PART_1.BãßValueOfTone(""));
Assertions.assertEquals(T08PartOctal.PART_8, T08PartOctal.PART_1.BãßValueOfTone(""));
}
@Test
public void testChinaMap() {
Assertions.assertEquals(T08PartOctal.PART_1, T08PartOctal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T08PartOctal.PART_2, T08PartOctal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T08PartOctal.PART_7, T08PartOctal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T08PartOctal.PART_8, T08PartOctal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T08PartOctal.PART_1, T08PartOctal.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T08PartOctal.PART_2, T08PartOctal.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T08PartOctal.PART_7, T08PartOctal.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T08PartOctal.PART_8, T08PartOctal.PART_1.BãßValueOfChina(""));
}
}

View file

@ -11,26 +11,26 @@ public class T10PartDecimalTest {
@Test
public void testBasePart() {
for (T10PartDecimal value:T10PartDecimal.values()) {
Assertions.assertNotNull(value.getIdentifierTone());
Assertions.assertNotNull(value.getIdentifierLetter());
Assertions.assertNotNull(value.getChinaKey());
Assertions.assertNotNull(value.getChinaValue());
Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue());
}
}
@Test
public void testToneMap() {
Assertions.assertEquals(T10PartDecimal.PART_1, T10PartDecimal.PART_1.staticValueOfTone("˥"));
Assertions.assertEquals(T10PartDecimal.PART_2, T10PartDecimal.PART_1.staticValueOfTone("˦"));
Assertions.assertEquals(T10PartDecimal.PART_9, T10PartDecimal.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T10PartDecimal.PART_10, T10PartDecimal.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T10PartDecimal.PART_1, T10PartDecimal.PART_1.BãßValueOfTone("˥"));
Assertions.assertEquals(T10PartDecimal.PART_2, T10PartDecimal.PART_1.BãßValueOfTone("˦"));
Assertions.assertEquals(T10PartDecimal.PART_9, T10PartDecimal.PART_1.BãßValueOfTone(""));
Assertions.assertEquals(T10PartDecimal.PART_10, T10PartDecimal.PART_1.BãßValueOfTone(""));
}
@Test
public void testChinaMap() {
Assertions.assertEquals(T10PartDecimal.PART_1, T10PartDecimal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T10PartDecimal.PART_2, T10PartDecimal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T10PartDecimal.PART_9, T10PartDecimal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T10PartDecimal.PART_10, T10PartDecimal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T10PartDecimal.PART_1, T10PartDecimal.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T10PartDecimal.PART_2, T10PartDecimal.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T10PartDecimal.PART_9, T10PartDecimal.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T10PartDecimal.PART_10, T10PartDecimal.PART_1.BãßValueOfChina(""));
}
}

View file

@ -11,26 +11,26 @@ public class T11PartUndecimalTest {
@Test
public void testBasePart() {
for (T11PartUndecimal value:T11PartUndecimal.values()) {
Assertions.assertNotNull(value.getIdentifierTone());
Assertions.assertNotNull(value.getIdentifierLetter());
Assertions.assertNotNull(value.getChinaKey());
Assertions.assertNotNull(value.getChinaValue());
Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue());
}
}
@Test
public void testToneMap() {
Assertions.assertEquals(T11PartUndecimal.PART_1, T11PartUndecimal.PART_1.staticValueOfTone("˥"));
Assertions.assertEquals(T11PartUndecimal.PART_2, T11PartUndecimal.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T11PartUndecimal.PART_10, T11PartUndecimal.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T11PartUndecimal.PART_11, T11PartUndecimal.PART_1.staticValueOfTone("˩"));
Assertions.assertEquals(T11PartUndecimal.PART_1, T11PartUndecimal.PART_1.BãßValueOfTone("˥"));
Assertions.assertEquals(T11PartUndecimal.PART_2, T11PartUndecimal.PART_1.BãßValueOfTone(""));
Assertions.assertEquals(T11PartUndecimal.PART_10, T11PartUndecimal.PART_1.BãßValueOfTone(""));
Assertions.assertEquals(T11PartUndecimal.PART_11, T11PartUndecimal.PART_1.BãßValueOfTone("˩"));
}
@Test
public void testChinaMap() {
Assertions.assertEquals(T11PartUndecimal.PART_1, T11PartUndecimal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T11PartUndecimal.PART_2, T11PartUndecimal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T11PartUndecimal.PART_10, T11PartUndecimal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T11PartUndecimal.PART_11, T11PartUndecimal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T11PartUndecimal.PART_1, T11PartUndecimal.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T11PartUndecimal.PART_2, T11PartUndecimal.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T11PartUndecimal.PART_10, T11PartUndecimal.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T11PartUndecimal.PART_11, T11PartUndecimal.PART_1.BãßValueOfChina(""));
}
}

View file

@ -11,29 +11,29 @@ public class T12PartUncialTest {
@Test
public void testBasePart() {
for (T12PartUncial value:T12PartUncial.values()) {
Assertions.assertNotNull(value.getIdentifierTone());
Assertions.assertNotNull(value.getIdentifierLetter());
Assertions.assertNotNull(value.getChinaKey());
Assertions.assertNotNull(value.getChinaValue());
Assertions.assertNotNull(value.getAlt1Value());
Assertions.assertNotNull(value.staticAlt1Name());
Assertions.assertNotNull(value.staticAlt1Website());
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());
Assertions.assertNotNull(value.BãßAlt1Name());
Assertions.assertNotNull(value.BãßAlt1Website());
}
}
@Test
public void testToneMap() {
Assertions.assertEquals(T12PartUncial.PART_1, T12PartUncial.PART_1.staticValueOfTone("˥"));
Assertions.assertEquals(T12PartUncial.PART_2, T12PartUncial.PART_1.staticValueOfTone("˧"));
Assertions.assertEquals(T12PartUncial.PART_11, T12PartUncial.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T12PartUncial.PART_12, T12PartUncial.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T12PartUncial.PART_1, T12PartUncial.PART_1.BãßValueOfTone("˥"));
Assertions.assertEquals(T12PartUncial.PART_2, T12PartUncial.PART_1.BãßValueOfTone("˧"));
Assertions.assertEquals(T12PartUncial.PART_11, T12PartUncial.PART_1.BãßValueOfTone(""));
Assertions.assertEquals(T12PartUncial.PART_12, T12PartUncial.PART_1.BãßValueOfTone(""));
}
@Test
public void testChinaMap() {
Assertions.assertEquals(T12PartUncial.PART_1, T12PartUncial.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T12PartUncial.PART_2, T12PartUncial.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T12PartUncial.PART_11, T12PartUncial.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T12PartUncial.PART_12, T12PartUncial.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T12PartUncial.PART_1, T12PartUncial.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T12PartUncial.PART_2, T12PartUncial.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T12PartUncial.PART_11, T12PartUncial.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T12PartUncial.PART_12, T12PartUncial.PART_1.BãßValueOfChina(""));
}
}

View file

@ -11,29 +11,29 @@ public class T16PartHexTest {
@Test
public void testBasePart() {
for (T16PartHex value:T16PartHex.values()) {
Assertions.assertNotNull(value.getIdentifierTone());
Assertions.assertNotNull(value.getIdentifierLetter());
Assertions.assertNotNull(value.getChinaKey());
Assertions.assertNotNull(value.getChinaValue());
Assertions.assertNotNull(value.getAlt1Value());
Assertions.assertNotNull(value.staticAlt1Name());
Assertions.assertNotNull(value.staticAlt1Website());
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());
Assertions.assertNotNull(value.BãßAlt1Name());
Assertions.assertNotNull(value.BãßAlt1Website());
}
}
@Test
public void testToneMap() {
Assertions.assertEquals(T16PartHex.PART_1, T16PartHex.PART_1.staticValueOfTone("˥"));
Assertions.assertEquals(T16PartHex.PART_2, T16PartHex.PART_1.staticValueOfTone("˦"));
Assertions.assertEquals(T16PartHex.PART_15, T16PartHex.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T16PartHex.PART_16, T16PartHex.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T16PartHex.PART_1, T16PartHex.PART_1.BãßValueOfTone("˥"));
Assertions.assertEquals(T16PartHex.PART_2, T16PartHex.PART_1.BãßValueOfTone("˦"));
Assertions.assertEquals(T16PartHex.PART_15, T16PartHex.PART_1.BãßValueOfTone(""));
Assertions.assertEquals(T16PartHex.PART_16, T16PartHex.PART_1.BãßValueOfTone(""));
}
@Test
public void testChinaMap() {
Assertions.assertEquals(T16PartHex.PART_1, T16PartHex.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T16PartHex.PART_2, T16PartHex.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T16PartHex.PART_15, T16PartHex.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T16PartHex.PART_16, T16PartHex.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T16PartHex.PART_1, T16PartHex.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T16PartHex.PART_2, T16PartHex.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T16PartHex.PART_15, T16PartHex.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T16PartHex.PART_16, T16PartHex.PART_1.BãßValueOfChina(""));
}
}

View file

@ -11,30 +11,30 @@ public class T20PartScoreTest {
@Test
public void testBasePart() {
for (T20PartScore value:T20PartScore.values()) {
Assertions.assertNotNull(value.getIdentifierTone());
Assertions.assertNotNull(value.getIdentifierLetter());
Assertions.assertNotNull(value.getChinaKey());
Assertions.assertNotNull(value.getChinaValue());
Assertions.assertNotNull(value.getAlt1Value());
Assertions.assertNotNull(value.staticAlt1Name());
Assertions.assertNotNull(value.staticAlt1Website());
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());
Assertions.assertNotNull(value.BãßAlt1Name());
Assertions.assertNotNull(value.BãßAlt1Website());
}
}
@Test
public void testToneMap() {
Assertions.assertEquals(T20PartScore.PART_1, T20PartScore.PART_1.staticValueOfTone("˥"));
Assertions.assertEquals(T20PartScore.PART_2, T20PartScore.PART_1.staticValueOfTone("˦"));
Assertions.assertEquals(T20PartScore.PART_19, T20PartScore.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T20PartScore.PART_20, T20PartScore.PART_1.staticValueOfTone(""));
Assertions.assertEquals(T20PartScore.PART_1, T20PartScore.PART_1.BãßValueOfTone("˥"));
Assertions.assertEquals(T20PartScore.PART_2, T20PartScore.PART_1.BãßValueOfTone("˦"));
Assertions.assertEquals(T20PartScore.PART_19, T20PartScore.PART_1.BãßValueOfTone(""));
Assertions.assertEquals(T20PartScore.PART_20, T20PartScore.PART_1.BãßValueOfTone(""));
}
@Test
public void testChinaMap() {
Assertions.assertEquals(T20PartScore.PART_1, T20PartScore.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T20PartScore.PART_2, T20PartScore.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T20PartScore.PART_19, T20PartScore.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T20PartScore.PART_20, T20PartScore.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T20PartScore.PART_1, T20PartScore.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T20PartScore.PART_2, T20PartScore.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T20PartScore.PART_19, T20PartScore.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T20PartScore.PART_20, T20PartScore.PART_1.BãßValueOfChina(""));
}
@Test

View file

@ -11,26 +11,26 @@ public class T60SexagesimalTest {
@Test
public void testBasePart() {
for (T60PartSexagesimal value:T60PartSexagesimal.values()) {
Assertions.assertNotNull(value.getIdentifierTone());
Assertions.assertNotNull(value.getIdentifierLetter());
Assertions.assertNotNull(value.getChinaKey());
Assertions.assertNotNull(value.getChinaValue());
Assertions.assertNotNull(value.BȍőnIdentifierTone());
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue());
}
}
@Test
public void testToneMap() {
Assertions.assertEquals(T60PartSexagesimal.PART_1, T60PartSexagesimal.PART_1.staticValueOfTone("˧˩˥"));
Assertions.assertEquals(T60PartSexagesimal.PART_2, T60PartSexagesimal.PART_1.staticValueOfTone("˧˥˦"));
Assertions.assertEquals(T60PartSexagesimal.PART_59, T60PartSexagesimal.PART_1.staticValueOfTone("꜍꜍꜏"));
Assertions.assertEquals(T60PartSexagesimal.PART_60, T60PartSexagesimal.PART_1.staticValueOfTone("꜑꜑꜏"));
Assertions.assertEquals(T60PartSexagesimal.PART_1, T60PartSexagesimal.PART_1.BãßValueOfTone("˧˩˥"));
Assertions.assertEquals(T60PartSexagesimal.PART_2, T60PartSexagesimal.PART_1.BãßValueOfTone("˧˥˦"));
Assertions.assertEquals(T60PartSexagesimal.PART_59, T60PartSexagesimal.PART_1.BãßValueOfTone("꜍꜍꜏"));
Assertions.assertEquals(T60PartSexagesimal.PART_60, T60PartSexagesimal.PART_1.BãßValueOfTone("꜑꜑꜏"));
}
@Test
public void testChinaMap() {
Assertions.assertEquals(T60PartSexagesimal.PART_1, T60PartSexagesimal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T60PartSexagesimal.PART_2, T60PartSexagesimal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T60PartSexagesimal.PART_59, T60PartSexagesimal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T60PartSexagesimal.PART_60, T60PartSexagesimal.PART_1.staticValueOfChina(""));
Assertions.assertEquals(T60PartSexagesimal.PART_1, T60PartSexagesimal.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T60PartSexagesimal.PART_2, T60PartSexagesimal.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T60PartSexagesimal.PART_59, T60PartSexagesimal.PART_1.BãßValueOfChina(""));
Assertions.assertEquals(T60PartSexagesimal.PART_60, T60PartSexagesimal.PART_1.BãßValueOfChina(""));
}
}