Corrected naming
This commit is contained in:
parent
ac3f030322
commit
b4106211c8
|
@ -48,7 +48,7 @@ public class BasePartRenderer extends ImGuiRendererMain {
|
||||||
|
|
||||||
ImGui.text("Base:");
|
ImGui.text("Base:");
|
||||||
ImGui.sameLine();
|
ImGui.sameLine();
|
||||||
ImGui.text(baseParts[0].BãßNaam());
|
ImGui.text(baseParts[0].BãßClassNaam());
|
||||||
ImGui.sameLine();
|
ImGui.sameLine();
|
||||||
ImGui.combo("Type", selectedBasePart, items);
|
ImGui.combo("Type", selectedBasePart, items);
|
||||||
|
|
||||||
|
@ -73,35 +73,35 @@ public class BasePartRenderer extends ImGuiRendererMain {
|
||||||
ImGui.tableNextColumn();
|
ImGui.tableNextColumn();
|
||||||
ImGui.text(Integer.toString(part.ordinal()));
|
ImGui.text(Integer.toString(part.ordinal()));
|
||||||
ImGui.tableNextColumn();
|
ImGui.tableNextColumn();
|
||||||
ImGui.text(part.getIdentifierTone());
|
ImGui.text(part.BȍőnIdentifierTone());
|
||||||
ImGui.tableNextColumn();
|
ImGui.tableNextColumn();
|
||||||
ImGui.text(part.getIdentifierLetter());
|
ImGui.text(part.BȍőnIdentifierLetter());
|
||||||
ImGui.tableNextColumn();
|
ImGui.tableNextColumn();
|
||||||
ImGui.text(part.getChinaKey());
|
ImGui.text(part.BȍőnChinaKey());
|
||||||
ImGui.tableNextColumn();
|
ImGui.tableNextColumn();
|
||||||
ImGui.text(part.getChinaValue());
|
ImGui.text(part.BȍőnChinaValue());
|
||||||
|
|
||||||
ImGui.tableNextColumn();
|
ImGui.tableNextColumn();
|
||||||
if (part instanceof BãßBȍőnPartAlt1ʸᴰ) {
|
if (part instanceof BãßBȍőnPartAlt1ʸᴰ) {
|
||||||
ImGui.text(BãßBȍőnPartAlt1ʸᴰ.class.cast(part).getAlt1Value());
|
ImGui.text(BãßBȍőnPartAlt1ʸᴰ.class.cast(part).BȍőnAlt1Value());
|
||||||
} else {
|
} else {
|
||||||
ImGui.text("");
|
ImGui.text("");
|
||||||
}
|
}
|
||||||
ImGui.tableNextColumn();
|
ImGui.tableNextColumn();
|
||||||
if (part instanceof BãßBȍőnPartAlt2ʸᴰ) {
|
if (part instanceof BãßBȍőnPartAlt2ʸᴰ) {
|
||||||
ImGui.text(BãßBȍőnPartAlt2ʸᴰ.class.cast(part).getAlt2Value());
|
ImGui.text(BãßBȍőnPartAlt2ʸᴰ.class.cast(part).BȍőnAlt2Value());
|
||||||
} else {
|
} else {
|
||||||
ImGui.text("");
|
ImGui.text("");
|
||||||
}
|
}
|
||||||
ImGui.tableNextColumn();
|
ImGui.tableNextColumn();
|
||||||
if (part instanceof BãßBȍőnPartAlt3ʸᴰ) {
|
if (part instanceof BãßBȍőnPartAlt3ʸᴰ) {
|
||||||
ImGui.text(BãßBȍőnPartAlt3ʸᴰ.class.cast(part).getAlt3Value());
|
ImGui.text(BãßBȍőnPartAlt3ʸᴰ.class.cast(part).BȍőnAlt3Value());
|
||||||
} else {
|
} else {
|
||||||
ImGui.text("");
|
ImGui.text("");
|
||||||
}
|
}
|
||||||
ImGui.tableNextColumn();
|
ImGui.tableNextColumn();
|
||||||
if (part instanceof BãßBȍőnPartAlt4ʸᴰ) {
|
if (part instanceof BãßBȍőnPartAlt4ʸᴰ) {
|
||||||
ImGui.text(BãßBȍőnPartAlt4ʸᴰ.class.cast(part).getAlt4Value());
|
ImGui.text(BãßBȍőnPartAlt4ʸᴰ.class.cast(part).BȍőnAlt4Value());
|
||||||
} else {
|
} else {
|
||||||
ImGui.text("");
|
ImGui.text("");
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ public enum T20PartScore implements BãßBȍőnPartAlt3ʸᴰ<T20PartScore> {
|
||||||
;
|
;
|
||||||
|
|
||||||
private static final Map<String, T20PartScore> OPENLC_MAP = Collections.unmodifiableMap(
|
private static final Map<String, T20PartScore> OPENLC_MAP = Collections.unmodifiableMap(
|
||||||
Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.getAlt3Value(), v -> v)));
|
Arrays.asList(values()).stream().collect(Collectors.toMap(v -> v.BȍőnAlt3Value(), v -> v)));
|
||||||
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
private final BãßBȍőnCoffinOpenʸᴰ<BãßBȍőnPartKeyʸᴰ> BBC = BãßBȍőnCoffinOpenʸᴰ.newInstance();
|
||||||
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
|
public BãßBȍőnCoffinʸᴰ<BãßBȍőnPartKeyʸᴰ> GET_BBC() { return BBC; }
|
||||||
public static int LENGTH() { return values().length; };
|
public static int LENGTH() { return values().length; };
|
||||||
|
|
|
@ -5,15 +5,15 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
||||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||||
public interface BãßBȍőnPartAlt1ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartʸᴰ<T> {
|
public interface BãßBȍőnPartAlt1ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartʸᴰ<T> {
|
||||||
|
|
||||||
default String getAlt1Value() {
|
default String BȍőnAlt1Value() {
|
||||||
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE);
|
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_1_VALUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
default String staticAlt1Name() {
|
default String BãßAlt1Name() {
|
||||||
return getClass().getAnnotation(BãßBȍőnPartAlt1Infoʸᴰ.class).name();
|
return getClass().getAnnotation(BãßBȍőnPartAlt1Infoʸᴰ.class).name();
|
||||||
}
|
}
|
||||||
|
|
||||||
default String staticAlt1Website() {
|
default String BãßAlt1Website() {
|
||||||
return getClass().getAnnotation(BãßBȍőnPartAlt1Infoʸᴰ.class).website();
|
return getClass().getAnnotation(BãßBȍőnPartAlt1Infoʸᴰ.class).website();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,15 +5,15 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
||||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||||
public interface BãßBȍőnPartAlt2ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartAlt1ʸᴰ<T> {
|
public interface BãßBȍőnPartAlt2ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartAlt1ʸᴰ<T> {
|
||||||
|
|
||||||
default String getAlt2Value() {
|
default String BȍőnAlt2Value() {
|
||||||
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_2_VALUE);
|
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_2_VALUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
default String staticAlt2Name() {
|
default String BãßAlt2Name() {
|
||||||
return getClass().getAnnotation(BãßBȍőnPartAlt2Infoʸᴰ.class).name();
|
return getClass().getAnnotation(BãßBȍőnPartAlt2Infoʸᴰ.class).name();
|
||||||
}
|
}
|
||||||
|
|
||||||
default String staticAlt2Website() {
|
default String BãßAlt2Website() {
|
||||||
return getClass().getAnnotation(BãßBȍőnPartAlt2Infoʸᴰ.class).website();
|
return getClass().getAnnotation(BãßBȍőnPartAlt2Infoʸᴰ.class).website();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,15 +5,15 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
||||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||||
public interface BãßBȍőnPartAlt3ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartAlt2ʸᴰ<T> {
|
public interface BãßBȍőnPartAlt3ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartAlt2ʸᴰ<T> {
|
||||||
|
|
||||||
default String getAlt3Value() {
|
default String BȍőnAlt3Value() {
|
||||||
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_3_VALUE);
|
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_3_VALUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
default String staticAlt3Name() {
|
default String BãßAlt3Name() {
|
||||||
return getClass().getAnnotation(BãßBȍőnPartAlt3Infoʸᴰ.class).name();
|
return getClass().getAnnotation(BãßBȍőnPartAlt3Infoʸᴰ.class).name();
|
||||||
}
|
}
|
||||||
|
|
||||||
default String staticAlt3Website() {
|
default String BãßAlt3Website() {
|
||||||
return getClass().getAnnotation(BãßBȍőnPartAlt3Infoʸᴰ.class).website();
|
return getClass().getAnnotation(BãßBȍőnPartAlt3Infoʸᴰ.class).website();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,15 +5,15 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
|
||||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||||
public interface BãßBȍőnPartAlt4ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartAlt3ʸᴰ<T> {
|
public interface BãßBȍőnPartAlt4ʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnPartAlt3ʸᴰ<T> {
|
||||||
|
|
||||||
default String getAlt4Value() {
|
default String BȍőnAlt4Value() {
|
||||||
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_4_VALUE);
|
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ALT_4_VALUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
default String staticAlt4Name() {
|
default String BãßAlt4Name() {
|
||||||
return getClass().getAnnotation(BãßBȍőnPartAlt4Infoʸᴰ.class).name();
|
return getClass().getAnnotation(BãßBȍőnPartAlt4Infoʸᴰ.class).name();
|
||||||
}
|
}
|
||||||
|
|
||||||
default String staticAlt4Website() {
|
default String BãßAlt4Website() {
|
||||||
return getClass().getAnnotation(BãßBȍőnPartAlt4Infoʸᴰ.class).website();
|
return getClass().getAnnotation(BãßBȍőnPartAlt4Infoʸᴰ.class).website();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,36 +10,36 @@ import love.distributedrebirth.bassboonyd.BãßBȍőnEnumSetʸᴰ;
|
||||||
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
|
||||||
public interface BãßBȍőnPartʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnEnumSetʸᴰ<T>, BãßBȍőnCoffinStoreʸᴰ<BãßBȍőnPartKeyʸᴰ> {
|
public interface BãßBȍőnPartʸᴰ<T extends BãßBȍőnPartʸᴰ<T>> extends BãßBȍőnEnumSetʸᴰ<T>, BãßBȍőnCoffinStoreʸᴰ<BãßBȍőnPartKeyʸᴰ> {
|
||||||
|
|
||||||
default String getIdentifierTone() {
|
default String BȍőnIdentifierTone() {
|
||||||
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ID_TONE);
|
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ID_TONE);
|
||||||
}
|
}
|
||||||
|
|
||||||
default String getIdentifierLetter() {
|
default String BȍőnIdentifierLetter() {
|
||||||
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ID_LETTER);
|
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.ID_LETTER);
|
||||||
}
|
}
|
||||||
|
|
||||||
default String getChinaKey() {
|
default String BȍőnChinaKey() {
|
||||||
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.CHINA_KEY);
|
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.CHINA_KEY);
|
||||||
}
|
}
|
||||||
|
|
||||||
default String getChinaValue() {
|
default String BȍőnChinaValue() {
|
||||||
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE);
|
return GET_BBC().GET_STR(BãßBȍőnPartKeyʸᴰ.CHINA_VALUE);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
default T staticValueOfTone(String identifierTone) {
|
default T BãßValueOfTone(String identifierTone) {
|
||||||
Map<String,Object> mapTone = GET_BBC().GET_MAP_OBJ(BãßBȍőnPartKeyʸᴰ.MAP_TONE);
|
Map<String,Object> mapTone = GET_BBC().GET_MAP_OBJ(BãßBȍőnPartKeyʸᴰ.MAP_TONE);
|
||||||
if (mapTone.isEmpty()) {
|
if (mapTone.isEmpty()) {
|
||||||
mapTone.putAll(BãßInstancesStream().collect(Collectors.toMap(v -> v.getIdentifierTone(), v -> v)));
|
mapTone.putAll(BãßInstancesStream().collect(Collectors.toMap(v -> v.BȍőnIdentifierTone(), v -> v)));
|
||||||
}
|
}
|
||||||
return (T) mapTone.get(identifierTone);
|
return (T) mapTone.get(identifierTone);
|
||||||
}
|
}
|
||||||
|
|
||||||
@SuppressWarnings("unchecked")
|
@SuppressWarnings("unchecked")
|
||||||
default T staticValueOfChina(String chinaKey) {
|
default T BãßValueOfChina(String chinaKey) {
|
||||||
Map<String,Object> mapChina = GET_BBC().GET_MAP_OBJ(BãßBȍőnPartKeyʸᴰ.MAP_CHINA);
|
Map<String,Object> mapChina = GET_BBC().GET_MAP_OBJ(BãßBȍőnPartKeyʸᴰ.MAP_CHINA);
|
||||||
if (mapChina.isEmpty()) {
|
if (mapChina.isEmpty()) {
|
||||||
mapChina.putAll(BãßInstancesStream().collect(Collectors.toMap(v -> v.getChinaKey(), v -> v)));
|
mapChina.putAll(BãßInstancesStream().collect(Collectors.toMap(v -> v.BȍőnChinaKey(), v -> v)));
|
||||||
}
|
}
|
||||||
return (T) mapChina.get(chinaKey);
|
return (T) mapChina.get(chinaKey);
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,8 +25,8 @@ public class BasePartFactoryTest {
|
||||||
Map<String,String> global = new HashMap<>();
|
Map<String,String> global = new HashMap<>();
|
||||||
for (int base:BasePartFactory.INSTANCE.BãßBases()) {
|
for (int base:BasePartFactory.INSTANCE.BãßBases()) {
|
||||||
for (BãßBȍőnPartʸᴰ<?> part:BasePartFactory.INSTANCE.BãßBuildPartsByBase(base)) {
|
for (BãßBȍőnPartʸᴰ<?> part:BasePartFactory.INSTANCE.BãßBuildPartsByBase(base)) {
|
||||||
Assertions.assertFalse(global.containsKey(part.getChinaKey()));
|
Assertions.assertFalse(global.containsKey(part.BȍőnChinaKey()));
|
||||||
global.put(part.getChinaKey(), part.getChinaValue());
|
global.put(part.BȍőnChinaKey(), part.BȍőnChinaValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Assertions.assertTrue(global.size() > 1);
|
Assertions.assertTrue(global.size() > 1);
|
||||||
|
@ -37,8 +37,8 @@ public class BasePartFactoryTest {
|
||||||
Map<String,String> global = new HashMap<>();
|
Map<String,String> global = new HashMap<>();
|
||||||
for (int base:BasePartFactory.INSTANCE.BãßBases()) {
|
for (int base:BasePartFactory.INSTANCE.BãßBases()) {
|
||||||
for (BãßBȍőnPartʸᴰ<?> part:BasePartFactory.INSTANCE.BãßBuildPartsByBase(base)) {
|
for (BãßBȍőnPartʸᴰ<?> part:BasePartFactory.INSTANCE.BãßBuildPartsByBase(base)) {
|
||||||
Assertions.assertFalse(global.containsKey(part.getChinaValue()));
|
Assertions.assertFalse(global.containsKey(part.BȍőnChinaValue()));
|
||||||
global.put(part.getChinaValue(), part.getChinaValue());
|
global.put(part.BȍőnChinaValue(), part.BȍőnChinaValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Assertions.assertTrue(global.size() > 1);
|
Assertions.assertTrue(global.size() > 1);
|
||||||
|
@ -50,11 +50,11 @@ public class BasePartFactoryTest {
|
||||||
Map<String,String> global = new HashMap<>();
|
Map<String,String> global = new HashMap<>();
|
||||||
for (int base:BasePartFactory.INSTANCE.BãßBases()) {
|
for (int base:BasePartFactory.INSTANCE.BãßBases()) {
|
||||||
for (BãßBȍőnPartʸᴰ<?> part:BasePartFactory.INSTANCE.BãßBuildPartsByBase(base)) {
|
for (BãßBȍőnPartʸᴰ<?> part:BasePartFactory.INSTANCE.BãßBuildPartsByBase(base)) {
|
||||||
if (global.containsKey(part.getIdentifierTone())) {
|
if (global.containsKey(part.BȍőnIdentifierTone())) {
|
||||||
duplicate = true;
|
duplicate = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
global.put(part.getIdentifierTone(), part.getChinaValue());
|
global.put(part.BȍőnIdentifierTone(), part.BȍőnChinaValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Assertions.assertTrue(global.size() > 1);
|
Assertions.assertTrue(global.size() > 1);
|
||||||
|
@ -67,11 +67,11 @@ public class BasePartFactoryTest {
|
||||||
Map<String,String> global = new HashMap<>();
|
Map<String,String> global = new HashMap<>();
|
||||||
for (int base:BasePartFactory.INSTANCE.BãßBases()) {
|
for (int base:BasePartFactory.INSTANCE.BãßBases()) {
|
||||||
for (BãßBȍőnPartʸᴰ<?> part:BasePartFactory.INSTANCE.BãßBuildPartsByBase(base)) {
|
for (BãßBȍőnPartʸᴰ<?> part:BasePartFactory.INSTANCE.BãßBuildPartsByBase(base)) {
|
||||||
if (global.containsKey(part.getIdentifierLetter())) {
|
if (global.containsKey(part.BȍőnIdentifierLetter())) {
|
||||||
duplicate = true;
|
duplicate = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
global.put(part.getIdentifierLetter(), part.getChinaValue());
|
global.put(part.BȍőnIdentifierLetter(), part.BȍőnChinaValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Assertions.assertTrue(global.size() > 1);
|
Assertions.assertTrue(global.size() > 1);
|
||||||
|
|
|
@ -11,22 +11,22 @@ public class T02PartBinaryTest {
|
||||||
@Test
|
@Test
|
||||||
public void testBasePart() {
|
public void testBasePart() {
|
||||||
for (T02PartBinary value:T02PartBinary.values()) {
|
for (T02PartBinary value:T02PartBinary.values()) {
|
||||||
Assertions.assertNotNull(value.getIdentifierTone());
|
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||||
Assertions.assertNotNull(value.getIdentifierLetter());
|
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||||
Assertions.assertNotNull(value.getChinaKey());
|
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||||
Assertions.assertNotNull(value.getChinaValue());
|
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testToneMap() {
|
public void testToneMap() {
|
||||||
Assertions.assertEquals(T02PartBinary.PART_1, T02PartBinary.PART_1.staticValueOfTone("˧"));
|
Assertions.assertEquals(T02PartBinary.PART_1, T02PartBinary.PART_1.BãßValueOfTone("˧"));
|
||||||
Assertions.assertEquals(T02PartBinary.PART_2, T02PartBinary.PART_1.staticValueOfTone("꜔"));
|
Assertions.assertEquals(T02PartBinary.PART_2, T02PartBinary.PART_1.BãßValueOfTone("꜔"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testChinaMap() {
|
public void testChinaMap() {
|
||||||
Assertions.assertEquals(T02PartBinary.PART_1, T02PartBinary.PART_1.staticValueOfChina("低"));
|
Assertions.assertEquals(T02PartBinary.PART_1, T02PartBinary.PART_1.BãßValueOfChina("低"));
|
||||||
Assertions.assertEquals(T02PartBinary.PART_2, T02PartBinary.PART_1.staticValueOfChina("高"));
|
Assertions.assertEquals(T02PartBinary.PART_2, T02PartBinary.PART_1.BãßValueOfChina("高"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,24 +11,24 @@ public class T03PartTritTest {
|
||||||
@Test
|
@Test
|
||||||
public void testBasePart() {
|
public void testBasePart() {
|
||||||
for (T03PartTrit value:T03PartTrit.values()) {
|
for (T03PartTrit value:T03PartTrit.values()) {
|
||||||
Assertions.assertNotNull(value.getIdentifierTone());
|
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||||
Assertions.assertNotNull(value.getIdentifierLetter());
|
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||||
Assertions.assertNotNull(value.getChinaKey());
|
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||||
Assertions.assertNotNull(value.getChinaValue());
|
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testToneMap() {
|
public void testToneMap() {
|
||||||
Assertions.assertEquals(T03PartTrit.PART_1, T03PartTrit.PART_1.staticValueOfTone("˦"));
|
Assertions.assertEquals(T03PartTrit.PART_1, T03PartTrit.PART_1.BãßValueOfTone("˦"));
|
||||||
Assertions.assertEquals(T03PartTrit.PART_2, T03PartTrit.PART_1.staticValueOfTone("˧"));
|
Assertions.assertEquals(T03PartTrit.PART_2, T03PartTrit.PART_1.BãßValueOfTone("˧"));
|
||||||
Assertions.assertEquals(T03PartTrit.PART_3, T03PartTrit.PART_1.staticValueOfTone("˨"));
|
Assertions.assertEquals(T03PartTrit.PART_3, T03PartTrit.PART_1.BãßValueOfTone("˨"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testChinaMap() {
|
public void testChinaMap() {
|
||||||
Assertions.assertEquals(T03PartTrit.PART_1, T03PartTrit.PART_1.staticValueOfChina("一"));
|
Assertions.assertEquals(T03PartTrit.PART_1, T03PartTrit.PART_1.BãßValueOfChina("一"));
|
||||||
Assertions.assertEquals(T03PartTrit.PART_2, T03PartTrit.PART_1.staticValueOfChina("二"));
|
Assertions.assertEquals(T03PartTrit.PART_2, T03PartTrit.PART_1.BãßValueOfChina("二"));
|
||||||
Assertions.assertEquals(T03PartTrit.PART_3, T03PartTrit.PART_1.staticValueOfChina("三"));
|
Assertions.assertEquals(T03PartTrit.PART_3, T03PartTrit.PART_1.BãßValueOfChina("三"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,13 +11,13 @@ public class T04PartQuadTest {
|
||||||
@Test
|
@Test
|
||||||
public void testBasePart() {
|
public void testBasePart() {
|
||||||
for (T04PartQuad value:T04PartQuad.values()) {
|
for (T04PartQuad value:T04PartQuad.values()) {
|
||||||
Assertions.assertNotNull(value.getIdentifierTone());
|
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||||
Assertions.assertNotNull(value.getIdentifierLetter());
|
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||||
Assertions.assertNotNull(value.getChinaKey());
|
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||||
Assertions.assertNotNull(value.getChinaValue());
|
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||||
Assertions.assertNotNull(value.getAlt1Value());
|
Assertions.assertNotNull(value.BȍőnAlt1Value());
|
||||||
Assertions.assertNotNull(value.staticAlt1Name());
|
Assertions.assertNotNull(value.BãßAlt1Name());
|
||||||
Assertions.assertNotNull(value.staticAlt1Website());
|
Assertions.assertNotNull(value.BãßAlt1Website());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,17 +39,17 @@ public class T04PartQuadTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testToneMap() {
|
public void testToneMap() {
|
||||||
Assertions.assertEquals(T04PartQuad.PART_1, T04PartQuad.PART_1.staticValueOfTone("˥"));
|
Assertions.assertEquals(T04PartQuad.PART_1, T04PartQuad.PART_1.BãßValueOfTone("˥"));
|
||||||
Assertions.assertEquals(T04PartQuad.PART_2, T04PartQuad.PART_1.staticValueOfTone("꜒"));
|
Assertions.assertEquals(T04PartQuad.PART_2, T04PartQuad.PART_1.BãßValueOfTone("꜒"));
|
||||||
Assertions.assertEquals(T04PartQuad.PART_3, T04PartQuad.PART_1.staticValueOfTone("꜖"));
|
Assertions.assertEquals(T04PartQuad.PART_3, T04PartQuad.PART_1.BãßValueOfTone("꜖"));
|
||||||
Assertions.assertEquals(T04PartQuad.PART_4, T04PartQuad.PART_1.staticValueOfTone("˩"));
|
Assertions.assertEquals(T04PartQuad.PART_4, T04PartQuad.PART_1.BãßValueOfTone("˩"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testChinaMap() {
|
public void testChinaMap() {
|
||||||
Assertions.assertEquals(T04PartQuad.PART_1, T04PartQuad.PART_1.staticValueOfChina("北"));
|
Assertions.assertEquals(T04PartQuad.PART_1, T04PartQuad.PART_1.BãßValueOfChina("北"));
|
||||||
Assertions.assertEquals(T04PartQuad.PART_2, T04PartQuad.PART_1.staticValueOfChina("東"));
|
Assertions.assertEquals(T04PartQuad.PART_2, T04PartQuad.PART_1.BãßValueOfChina("東"));
|
||||||
Assertions.assertEquals(T04PartQuad.PART_3, T04PartQuad.PART_1.staticValueOfChina("西"));
|
Assertions.assertEquals(T04PartQuad.PART_3, T04PartQuad.PART_1.BãßValueOfChina("西"));
|
||||||
Assertions.assertEquals(T04PartQuad.PART_4, T04PartQuad.PART_1.staticValueOfChina("南"));
|
Assertions.assertEquals(T04PartQuad.PART_4, T04PartQuad.PART_1.BãßValueOfChina("南"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,28 +11,28 @@ public class T05PartPentalTest {
|
||||||
@Test
|
@Test
|
||||||
public void testBasePart() {
|
public void testBasePart() {
|
||||||
for (T05PartPental value:T05PartPental.values()) {
|
for (T05PartPental value:T05PartPental.values()) {
|
||||||
Assertions.assertNotNull(value.getIdentifierTone());
|
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||||
Assertions.assertNotNull(value.getIdentifierLetter());
|
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||||
Assertions.assertNotNull(value.getChinaKey());
|
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||||
Assertions.assertNotNull(value.getChinaValue());
|
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testToneMap() {
|
public void testToneMap() {
|
||||||
Assertions.assertEquals(T05PartPental.PART_1, T05PartPental.PART_1.staticValueOfTone("˥"));
|
Assertions.assertEquals(T05PartPental.PART_1, T05PartPental.PART_1.BãßValueOfTone("˥"));
|
||||||
Assertions.assertEquals(T05PartPental.PART_2, T05PartPental.PART_1.staticValueOfTone("˦"));
|
Assertions.assertEquals(T05PartPental.PART_2, T05PartPental.PART_1.BãßValueOfTone("˦"));
|
||||||
Assertions.assertEquals(T05PartPental.PART_3, T05PartPental.PART_1.staticValueOfTone("˧"));
|
Assertions.assertEquals(T05PartPental.PART_3, T05PartPental.PART_1.BãßValueOfTone("˧"));
|
||||||
Assertions.assertEquals(T05PartPental.PART_4, T05PartPental.PART_1.staticValueOfTone("˨"));
|
Assertions.assertEquals(T05PartPental.PART_4, T05PartPental.PART_1.BãßValueOfTone("˨"));
|
||||||
Assertions.assertEquals(T05PartPental.PART_5, T05PartPental.PART_1.staticValueOfTone("˩"));
|
Assertions.assertEquals(T05PartPental.PART_5, T05PartPental.PART_1.BãßValueOfTone("˩"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testChinaMap() {
|
public void testChinaMap() {
|
||||||
Assertions.assertEquals(T05PartPental.PART_1, T05PartPental.PART_1.staticValueOfChina("火"));
|
Assertions.assertEquals(T05PartPental.PART_1, T05PartPental.PART_1.BãßValueOfChina("火"));
|
||||||
Assertions.assertEquals(T05PartPental.PART_2, T05PartPental.PART_1.staticValueOfChina("水"));
|
Assertions.assertEquals(T05PartPental.PART_2, T05PartPental.PART_1.BãßValueOfChina("水"));
|
||||||
Assertions.assertEquals(T05PartPental.PART_3, T05PartPental.PART_1.staticValueOfChina("木"));
|
Assertions.assertEquals(T05PartPental.PART_3, T05PartPental.PART_1.BãßValueOfChina("木"));
|
||||||
Assertions.assertEquals(T05PartPental.PART_4, T05PartPental.PART_1.staticValueOfChina("金"));
|
Assertions.assertEquals(T05PartPental.PART_4, T05PartPental.PART_1.BãßValueOfChina("金"));
|
||||||
Assertions.assertEquals(T05PartPental.PART_5, T05PartPental.PART_1.staticValueOfChina("土"));
|
Assertions.assertEquals(T05PartPental.PART_5, T05PartPental.PART_1.BãßValueOfChina("土"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,29 +11,29 @@ public class T06PartSeximalTest {
|
||||||
@Test
|
@Test
|
||||||
public void testBasePart() {
|
public void testBasePart() {
|
||||||
for (T06PartSeximal value:T06PartSeximal.values()) {
|
for (T06PartSeximal value:T06PartSeximal.values()) {
|
||||||
Assertions.assertNotNull(value.getIdentifierTone());
|
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||||
Assertions.assertNotNull(value.getIdentifierLetter());
|
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||||
Assertions.assertNotNull(value.getChinaKey());
|
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||||
Assertions.assertNotNull(value.getChinaValue());
|
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||||
Assertions.assertNotNull(value.getAlt1Value());
|
Assertions.assertNotNull(value.BȍőnAlt1Value());
|
||||||
Assertions.assertNotNull(value.staticAlt1Name());
|
Assertions.assertNotNull(value.BãßAlt1Name());
|
||||||
Assertions.assertNotNull(value.staticAlt1Website());
|
Assertions.assertNotNull(value.BãßAlt1Website());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testToneMap() {
|
public void testToneMap() {
|
||||||
Assertions.assertEquals(T06PartSeximal.PART_1, T06PartSeximal.PART_1.staticValueOfTone("˦"));
|
Assertions.assertEquals(T06PartSeximal.PART_1, T06PartSeximal.PART_1.BãßValueOfTone("˦"));
|
||||||
Assertions.assertEquals(T06PartSeximal.PART_2, T06PartSeximal.PART_1.staticValueOfTone("˨"));
|
Assertions.assertEquals(T06PartSeximal.PART_2, T06PartSeximal.PART_1.BãßValueOfTone("˨"));
|
||||||
Assertions.assertEquals(T06PartSeximal.PART_5, T06PartSeximal.PART_1.staticValueOfTone("꜊"));
|
Assertions.assertEquals(T06PartSeximal.PART_5, T06PartSeximal.PART_1.BãßValueOfTone("꜊"));
|
||||||
Assertions.assertEquals(T06PartSeximal.PART_6, T06PartSeximal.PART_1.staticValueOfTone("꜏"));
|
Assertions.assertEquals(T06PartSeximal.PART_6, T06PartSeximal.PART_1.BãßValueOfTone("꜏"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testChinaMap() {
|
public void testChinaMap() {
|
||||||
Assertions.assertEquals(T06PartSeximal.PART_1, T06PartSeximal.PART_1.staticValueOfChina("四"));
|
Assertions.assertEquals(T06PartSeximal.PART_1, T06PartSeximal.PART_1.BãßValueOfChina("四"));
|
||||||
Assertions.assertEquals(T06PartSeximal.PART_2, T06PartSeximal.PART_1.staticValueOfChina("五"));
|
Assertions.assertEquals(T06PartSeximal.PART_2, T06PartSeximal.PART_1.BãßValueOfChina("五"));
|
||||||
Assertions.assertEquals(T06PartSeximal.PART_5, T06PartSeximal.PART_1.staticValueOfChina("八"));
|
Assertions.assertEquals(T06PartSeximal.PART_5, T06PartSeximal.PART_1.BãßValueOfChina("八"));
|
||||||
Assertions.assertEquals(T06PartSeximal.PART_6, T06PartSeximal.PART_1.staticValueOfChina("九"));
|
Assertions.assertEquals(T06PartSeximal.PART_6, T06PartSeximal.PART_1.BãßValueOfChina("九"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,29 +11,29 @@ public class T07PartPlanItTest {
|
||||||
@Test
|
@Test
|
||||||
public void testBasePart() {
|
public void testBasePart() {
|
||||||
for (T07PartPlanIt value:T07PartPlanIt.values()) {
|
for (T07PartPlanIt value:T07PartPlanIt.values()) {
|
||||||
Assertions.assertNotNull(value.getIdentifierTone());
|
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||||
Assertions.assertNotNull(value.getIdentifierLetter());
|
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||||
Assertions.assertNotNull(value.getChinaKey());
|
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||||
Assertions.assertNotNull(value.getChinaValue());
|
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||||
Assertions.assertNotNull(value.getAlt1Value());
|
Assertions.assertNotNull(value.BȍőnAlt1Value());
|
||||||
Assertions.assertNotNull(value.staticAlt1Name());
|
Assertions.assertNotNull(value.BãßAlt1Name());
|
||||||
Assertions.assertNotNull(value.staticAlt1Website());
|
Assertions.assertNotNull(value.BãßAlt1Website());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testToneMap() {
|
public void testToneMap() {
|
||||||
Assertions.assertEquals(T07PartPlanIt.PART_1, T07PartPlanIt.PART_1.staticValueOfTone("˥"));
|
Assertions.assertEquals(T07PartPlanIt.PART_1, T07PartPlanIt.PART_1.BãßValueOfTone("˥"));
|
||||||
Assertions.assertEquals(T07PartPlanIt.PART_2, T07PartPlanIt.PART_1.staticValueOfTone("꜉"));
|
Assertions.assertEquals(T07PartPlanIt.PART_2, T07PartPlanIt.PART_1.BãßValueOfTone("꜉"));
|
||||||
Assertions.assertEquals(T07PartPlanIt.PART_6, T07PartPlanIt.PART_1.staticValueOfTone("꜐"));
|
Assertions.assertEquals(T07PartPlanIt.PART_6, T07PartPlanIt.PART_1.BãßValueOfTone("꜐"));
|
||||||
Assertions.assertEquals(T07PartPlanIt.PART_7, T07PartPlanIt.PART_1.staticValueOfTone("˩"));
|
Assertions.assertEquals(T07PartPlanIt.PART_7, T07PartPlanIt.PART_1.BãßValueOfTone("˩"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testChinaMap() {
|
public void testChinaMap() {
|
||||||
Assertions.assertEquals(T07PartPlanIt.PART_1, T07PartPlanIt.PART_1.staticValueOfChina("♎︎"));
|
Assertions.assertEquals(T07PartPlanIt.PART_1, T07PartPlanIt.PART_1.BãßValueOfChina("♎︎"));
|
||||||
Assertions.assertEquals(T07PartPlanIt.PART_2, T07PartPlanIt.PART_1.staticValueOfChina("♏︎"));
|
Assertions.assertEquals(T07PartPlanIt.PART_2, T07PartPlanIt.PART_1.BãßValueOfChina("♏︎"));
|
||||||
Assertions.assertEquals(T07PartPlanIt.PART_6, T07PartPlanIt.PART_1.staticValueOfChina("♑︎"));
|
Assertions.assertEquals(T07PartPlanIt.PART_6, T07PartPlanIt.PART_1.BãßValueOfChina("♑︎"));
|
||||||
Assertions.assertEquals(T07PartPlanIt.PART_7, T07PartPlanIt.PART_1.staticValueOfChina("♈︎"));
|
Assertions.assertEquals(T07PartPlanIt.PART_7, T07PartPlanIt.PART_1.BãßValueOfChina("♈︎"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,32 +11,32 @@ public class T08PartOctalTest {
|
||||||
@Test
|
@Test
|
||||||
public void testBasePart() {
|
public void testBasePart() {
|
||||||
for (T08PartOctal value:T08PartOctal.values()) {
|
for (T08PartOctal value:T08PartOctal.values()) {
|
||||||
Assertions.assertNotNull(value.getIdentifierTone());
|
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||||
Assertions.assertNotNull(value.getIdentifierLetter());
|
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||||
Assertions.assertNotNull(value.getChinaKey());
|
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||||
Assertions.assertNotNull(value.getChinaValue());
|
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||||
Assertions.assertNotNull(value.getAlt1Value());
|
Assertions.assertNotNull(value.BȍőnAlt1Value());
|
||||||
Assertions.assertNotNull(value.staticAlt1Name());
|
Assertions.assertNotNull(value.BãßAlt1Name());
|
||||||
Assertions.assertNotNull(value.staticAlt1Website());
|
Assertions.assertNotNull(value.BãßAlt1Website());
|
||||||
Assertions.assertNotNull(value.getAlt2Value());
|
Assertions.assertNotNull(value.BȍőnAlt2Value());
|
||||||
Assertions.assertNotNull(value.staticAlt2Name());
|
Assertions.assertNotNull(value.BãßAlt2Name());
|
||||||
Assertions.assertNotNull(value.staticAlt2Website());
|
Assertions.assertNotNull(value.BãßAlt2Website());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testToneMap() {
|
public void testToneMap() {
|
||||||
Assertions.assertEquals(T08PartOctal.PART_1, T08PartOctal.PART_1.staticValueOfTone("˥"));
|
Assertions.assertEquals(T08PartOctal.PART_1, T08PartOctal.PART_1.BãßValueOfTone("˥"));
|
||||||
Assertions.assertEquals(T08PartOctal.PART_2, T08PartOctal.PART_1.staticValueOfTone("˩"));
|
Assertions.assertEquals(T08PartOctal.PART_2, T08PartOctal.PART_1.BãßValueOfTone("˩"));
|
||||||
Assertions.assertEquals(T08PartOctal.PART_7, T08PartOctal.PART_1.staticValueOfTone("꜍"));
|
Assertions.assertEquals(T08PartOctal.PART_7, T08PartOctal.PART_1.BãßValueOfTone("꜍"));
|
||||||
Assertions.assertEquals(T08PartOctal.PART_8, T08PartOctal.PART_1.staticValueOfTone("꜑"));
|
Assertions.assertEquals(T08PartOctal.PART_8, T08PartOctal.PART_1.BãßValueOfTone("꜑"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testChinaMap() {
|
public void testChinaMap() {
|
||||||
Assertions.assertEquals(T08PartOctal.PART_1, T08PartOctal.PART_1.staticValueOfChina("心"));
|
Assertions.assertEquals(T08PartOctal.PART_1, T08PartOctal.PART_1.BãßValueOfChina("心"));
|
||||||
Assertions.assertEquals(T08PartOctal.PART_2, T08PartOctal.PART_1.staticValueOfChina("頭"));
|
Assertions.assertEquals(T08PartOctal.PART_2, T08PartOctal.PART_1.BãßValueOfChina("頭"));
|
||||||
Assertions.assertEquals(T08PartOctal.PART_7, T08PartOctal.PART_1.staticValueOfChina("肢"));
|
Assertions.assertEquals(T08PartOctal.PART_7, T08PartOctal.PART_1.BãßValueOfChina("肢"));
|
||||||
Assertions.assertEquals(T08PartOctal.PART_8, T08PartOctal.PART_1.staticValueOfChina("腳"));
|
Assertions.assertEquals(T08PartOctal.PART_8, T08PartOctal.PART_1.BãßValueOfChina("腳"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,26 +11,26 @@ public class T10PartDecimalTest {
|
||||||
@Test
|
@Test
|
||||||
public void testBasePart() {
|
public void testBasePart() {
|
||||||
for (T10PartDecimal value:T10PartDecimal.values()) {
|
for (T10PartDecimal value:T10PartDecimal.values()) {
|
||||||
Assertions.assertNotNull(value.getIdentifierTone());
|
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||||
Assertions.assertNotNull(value.getIdentifierLetter());
|
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||||
Assertions.assertNotNull(value.getChinaKey());
|
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||||
Assertions.assertNotNull(value.getChinaValue());
|
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testToneMap() {
|
public void testToneMap() {
|
||||||
Assertions.assertEquals(T10PartDecimal.PART_1, T10PartDecimal.PART_1.staticValueOfTone("˥"));
|
Assertions.assertEquals(T10PartDecimal.PART_1, T10PartDecimal.PART_1.BãßValueOfTone("˥"));
|
||||||
Assertions.assertEquals(T10PartDecimal.PART_2, T10PartDecimal.PART_1.staticValueOfTone("˦"));
|
Assertions.assertEquals(T10PartDecimal.PART_2, T10PartDecimal.PART_1.BãßValueOfTone("˦"));
|
||||||
Assertions.assertEquals(T10PartDecimal.PART_9, T10PartDecimal.PART_1.staticValueOfTone("꜕"));
|
Assertions.assertEquals(T10PartDecimal.PART_9, T10PartDecimal.PART_1.BãßValueOfTone("꜕"));
|
||||||
Assertions.assertEquals(T10PartDecimal.PART_10, T10PartDecimal.PART_1.staticValueOfTone("꜖"));
|
Assertions.assertEquals(T10PartDecimal.PART_10, T10PartDecimal.PART_1.BãßValueOfTone("꜖"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testChinaMap() {
|
public void testChinaMap() {
|
||||||
Assertions.assertEquals(T10PartDecimal.PART_1, T10PartDecimal.PART_1.staticValueOfChina("零"));
|
Assertions.assertEquals(T10PartDecimal.PART_1, T10PartDecimal.PART_1.BãßValueOfChina("零"));
|
||||||
Assertions.assertEquals(T10PartDecimal.PART_2, T10PartDecimal.PART_1.staticValueOfChina("壹"));
|
Assertions.assertEquals(T10PartDecimal.PART_2, T10PartDecimal.PART_1.BãßValueOfChina("壹"));
|
||||||
Assertions.assertEquals(T10PartDecimal.PART_9, T10PartDecimal.PART_1.staticValueOfChina("捌"));
|
Assertions.assertEquals(T10PartDecimal.PART_9, T10PartDecimal.PART_1.BãßValueOfChina("捌"));
|
||||||
Assertions.assertEquals(T10PartDecimal.PART_10, T10PartDecimal.PART_1.staticValueOfChina("玖"));
|
Assertions.assertEquals(T10PartDecimal.PART_10, T10PartDecimal.PART_1.BãßValueOfChina("玖"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,26 +11,26 @@ public class T11PartUndecimalTest {
|
||||||
@Test
|
@Test
|
||||||
public void testBasePart() {
|
public void testBasePart() {
|
||||||
for (T11PartUndecimal value:T11PartUndecimal.values()) {
|
for (T11PartUndecimal value:T11PartUndecimal.values()) {
|
||||||
Assertions.assertNotNull(value.getIdentifierTone());
|
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||||
Assertions.assertNotNull(value.getIdentifierLetter());
|
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||||
Assertions.assertNotNull(value.getChinaKey());
|
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||||
Assertions.assertNotNull(value.getChinaValue());
|
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testToneMap() {
|
public void testToneMap() {
|
||||||
Assertions.assertEquals(T11PartUndecimal.PART_1, T11PartUndecimal.PART_1.staticValueOfTone("˥"));
|
Assertions.assertEquals(T11PartUndecimal.PART_1, T11PartUndecimal.PART_1.BãßValueOfTone("˥"));
|
||||||
Assertions.assertEquals(T11PartUndecimal.PART_2, T11PartUndecimal.PART_1.staticValueOfTone("꜈"));
|
Assertions.assertEquals(T11PartUndecimal.PART_2, T11PartUndecimal.PART_1.BãßValueOfTone("꜈"));
|
||||||
Assertions.assertEquals(T11PartUndecimal.PART_10, T11PartUndecimal.PART_1.staticValueOfTone("꜐"));
|
Assertions.assertEquals(T11PartUndecimal.PART_10, T11PartUndecimal.PART_1.BãßValueOfTone("꜐"));
|
||||||
Assertions.assertEquals(T11PartUndecimal.PART_11, T11PartUndecimal.PART_1.staticValueOfTone("˩"));
|
Assertions.assertEquals(T11PartUndecimal.PART_11, T11PartUndecimal.PART_1.BãßValueOfTone("˩"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testChinaMap() {
|
public void testChinaMap() {
|
||||||
Assertions.assertEquals(T11PartUndecimal.PART_1, T11PartUndecimal.PART_1.staticValueOfChina("走"));
|
Assertions.assertEquals(T11PartUndecimal.PART_1, T11PartUndecimal.PART_1.BãßValueOfChina("走"));
|
||||||
Assertions.assertEquals(T11PartUndecimal.PART_2, T11PartUndecimal.PART_1.staticValueOfChina("跑"));
|
Assertions.assertEquals(T11PartUndecimal.PART_2, T11PartUndecimal.PART_1.BãßValueOfChina("跑"));
|
||||||
Assertions.assertEquals(T11PartUndecimal.PART_10, T11PartUndecimal.PART_1.staticValueOfChina("春"));
|
Assertions.assertEquals(T11PartUndecimal.PART_10, T11PartUndecimal.PART_1.BãßValueOfChina("春"));
|
||||||
Assertions.assertEquals(T11PartUndecimal.PART_11, T11PartUndecimal.PART_1.staticValueOfChina("耦"));
|
Assertions.assertEquals(T11PartUndecimal.PART_11, T11PartUndecimal.PART_1.BãßValueOfChina("耦"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,29 +11,29 @@ public class T12PartUncialTest {
|
||||||
@Test
|
@Test
|
||||||
public void testBasePart() {
|
public void testBasePart() {
|
||||||
for (T12PartUncial value:T12PartUncial.values()) {
|
for (T12PartUncial value:T12PartUncial.values()) {
|
||||||
Assertions.assertNotNull(value.getIdentifierTone());
|
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||||
Assertions.assertNotNull(value.getIdentifierLetter());
|
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||||
Assertions.assertNotNull(value.getChinaKey());
|
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||||
Assertions.assertNotNull(value.getChinaValue());
|
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||||
Assertions.assertNotNull(value.getAlt1Value());
|
Assertions.assertNotNull(value.BȍőnAlt1Value());
|
||||||
Assertions.assertNotNull(value.staticAlt1Name());
|
Assertions.assertNotNull(value.BãßAlt1Name());
|
||||||
Assertions.assertNotNull(value.staticAlt1Website());
|
Assertions.assertNotNull(value.BãßAlt1Website());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testToneMap() {
|
public void testToneMap() {
|
||||||
Assertions.assertEquals(T12PartUncial.PART_1, T12PartUncial.PART_1.staticValueOfTone("˥"));
|
Assertions.assertEquals(T12PartUncial.PART_1, T12PartUncial.PART_1.BãßValueOfTone("˥"));
|
||||||
Assertions.assertEquals(T12PartUncial.PART_2, T12PartUncial.PART_1.staticValueOfTone("˧"));
|
Assertions.assertEquals(T12PartUncial.PART_2, T12PartUncial.PART_1.BãßValueOfTone("˧"));
|
||||||
Assertions.assertEquals(T12PartUncial.PART_11, T12PartUncial.PART_1.staticValueOfTone("꜏"));
|
Assertions.assertEquals(T12PartUncial.PART_11, T12PartUncial.PART_1.BãßValueOfTone("꜏"));
|
||||||
Assertions.assertEquals(T12PartUncial.PART_12, T12PartUncial.PART_1.staticValueOfTone("꜑"));
|
Assertions.assertEquals(T12PartUncial.PART_12, T12PartUncial.PART_1.BãßValueOfTone("꜑"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testChinaMap() {
|
public void testChinaMap() {
|
||||||
Assertions.assertEquals(T12PartUncial.PART_1, T12PartUncial.PART_1.staticValueOfChina("日"));
|
Assertions.assertEquals(T12PartUncial.PART_1, T12PartUncial.PART_1.BãßValueOfChina("日"));
|
||||||
Assertions.assertEquals(T12PartUncial.PART_2, T12PartUncial.PART_1.staticValueOfChina("月"));
|
Assertions.assertEquals(T12PartUncial.PART_2, T12PartUncial.PART_1.BãßValueOfChina("月"));
|
||||||
Assertions.assertEquals(T12PartUncial.PART_11, T12PartUncial.PART_1.staticValueOfChina("黼"));
|
Assertions.assertEquals(T12PartUncial.PART_11, T12PartUncial.PART_1.BãßValueOfChina("黼"));
|
||||||
Assertions.assertEquals(T12PartUncial.PART_12, T12PartUncial.PART_1.staticValueOfChina("亞"));
|
Assertions.assertEquals(T12PartUncial.PART_12, T12PartUncial.PART_1.BãßValueOfChina("亞"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,29 +11,29 @@ public class T16PartHexTest {
|
||||||
@Test
|
@Test
|
||||||
public void testBasePart() {
|
public void testBasePart() {
|
||||||
for (T16PartHex value:T16PartHex.values()) {
|
for (T16PartHex value:T16PartHex.values()) {
|
||||||
Assertions.assertNotNull(value.getIdentifierTone());
|
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||||
Assertions.assertNotNull(value.getIdentifierLetter());
|
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||||
Assertions.assertNotNull(value.getChinaKey());
|
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||||
Assertions.assertNotNull(value.getChinaValue());
|
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||||
Assertions.assertNotNull(value.getAlt1Value());
|
Assertions.assertNotNull(value.BȍőnAlt1Value());
|
||||||
Assertions.assertNotNull(value.staticAlt1Name());
|
Assertions.assertNotNull(value.BãßAlt1Name());
|
||||||
Assertions.assertNotNull(value.staticAlt1Website());
|
Assertions.assertNotNull(value.BãßAlt1Website());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testToneMap() {
|
public void testToneMap() {
|
||||||
Assertions.assertEquals(T16PartHex.PART_1, T16PartHex.PART_1.staticValueOfTone("˥"));
|
Assertions.assertEquals(T16PartHex.PART_1, T16PartHex.PART_1.BãßValueOfTone("˥"));
|
||||||
Assertions.assertEquals(T16PartHex.PART_2, T16PartHex.PART_1.staticValueOfTone("˦"));
|
Assertions.assertEquals(T16PartHex.PART_2, T16PartHex.PART_1.BãßValueOfTone("˦"));
|
||||||
Assertions.assertEquals(T16PartHex.PART_15, T16PartHex.PART_1.staticValueOfTone("꜐"));
|
Assertions.assertEquals(T16PartHex.PART_15, T16PartHex.PART_1.BãßValueOfTone("꜐"));
|
||||||
Assertions.assertEquals(T16PartHex.PART_16, T16PartHex.PART_1.staticValueOfTone("꜑"));
|
Assertions.assertEquals(T16PartHex.PART_16, T16PartHex.PART_1.BãßValueOfTone("꜑"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testChinaMap() {
|
public void testChinaMap() {
|
||||||
Assertions.assertEquals(T16PartHex.PART_1, T16PartHex.PART_1.staticValueOfChina("氫"));
|
Assertions.assertEquals(T16PartHex.PART_1, T16PartHex.PART_1.BãßValueOfChina("氫"));
|
||||||
Assertions.assertEquals(T16PartHex.PART_2, T16PartHex.PART_1.staticValueOfChina("氦"));
|
Assertions.assertEquals(T16PartHex.PART_2, T16PartHex.PART_1.BãßValueOfChina("氦"));
|
||||||
Assertions.assertEquals(T16PartHex.PART_15, T16PartHex.PART_1.staticValueOfChina("磷"));
|
Assertions.assertEquals(T16PartHex.PART_15, T16PartHex.PART_1.BãßValueOfChina("磷"));
|
||||||
Assertions.assertEquals(T16PartHex.PART_16, T16PartHex.PART_1.staticValueOfChina("硫"));
|
Assertions.assertEquals(T16PartHex.PART_16, T16PartHex.PART_1.BãßValueOfChina("硫"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,30 +11,30 @@ public class T20PartScoreTest {
|
||||||
@Test
|
@Test
|
||||||
public void testBasePart() {
|
public void testBasePart() {
|
||||||
for (T20PartScore value:T20PartScore.values()) {
|
for (T20PartScore value:T20PartScore.values()) {
|
||||||
Assertions.assertNotNull(value.getIdentifierTone());
|
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||||
Assertions.assertNotNull(value.getIdentifierLetter());
|
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||||
Assertions.assertNotNull(value.getChinaKey());
|
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||||
Assertions.assertNotNull(value.getChinaValue());
|
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||||
Assertions.assertNotNull(value.getAlt1Value());
|
Assertions.assertNotNull(value.BȍőnAlt1Value());
|
||||||
Assertions.assertNotNull(value.staticAlt1Name());
|
Assertions.assertNotNull(value.BãßAlt1Name());
|
||||||
Assertions.assertNotNull(value.staticAlt1Website());
|
Assertions.assertNotNull(value.BãßAlt1Website());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testToneMap() {
|
public void testToneMap() {
|
||||||
Assertions.assertEquals(T20PartScore.PART_1, T20PartScore.PART_1.staticValueOfTone("˥"));
|
Assertions.assertEquals(T20PartScore.PART_1, T20PartScore.PART_1.BãßValueOfTone("˥"));
|
||||||
Assertions.assertEquals(T20PartScore.PART_2, T20PartScore.PART_1.staticValueOfTone("˦"));
|
Assertions.assertEquals(T20PartScore.PART_2, T20PartScore.PART_1.BãßValueOfTone("˦"));
|
||||||
Assertions.assertEquals(T20PartScore.PART_19, T20PartScore.PART_1.staticValueOfTone("꜐"));
|
Assertions.assertEquals(T20PartScore.PART_19, T20PartScore.PART_1.BãßValueOfTone("꜐"));
|
||||||
Assertions.assertEquals(T20PartScore.PART_20, T20PartScore.PART_1.staticValueOfTone("꜑"));
|
Assertions.assertEquals(T20PartScore.PART_20, T20PartScore.PART_1.BãßValueOfTone("꜑"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testChinaMap() {
|
public void testChinaMap() {
|
||||||
Assertions.assertEquals(T20PartScore.PART_1, T20PartScore.PART_1.staticValueOfChina("尧"));
|
Assertions.assertEquals(T20PartScore.PART_1, T20PartScore.PART_1.BãßValueOfChina("尧"));
|
||||||
Assertions.assertEquals(T20PartScore.PART_2, T20PartScore.PART_1.staticValueOfChina("泽"));
|
Assertions.assertEquals(T20PartScore.PART_2, T20PartScore.PART_1.BãßValueOfChina("泽"));
|
||||||
Assertions.assertEquals(T20PartScore.PART_19, T20PartScore.PART_1.staticValueOfChina("仄"));
|
Assertions.assertEquals(T20PartScore.PART_19, T20PartScore.PART_1.BãßValueOfChina("仄"));
|
||||||
Assertions.assertEquals(T20PartScore.PART_20, T20PartScore.PART_1.staticValueOfChina("幺"));
|
Assertions.assertEquals(T20PartScore.PART_20, T20PartScore.PART_1.BãßValueOfChina("幺"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
|
|
@ -11,26 +11,26 @@ public class T60SexagesimalTest {
|
||||||
@Test
|
@Test
|
||||||
public void testBasePart() {
|
public void testBasePart() {
|
||||||
for (T60PartSexagesimal value:T60PartSexagesimal.values()) {
|
for (T60PartSexagesimal value:T60PartSexagesimal.values()) {
|
||||||
Assertions.assertNotNull(value.getIdentifierTone());
|
Assertions.assertNotNull(value.BȍőnIdentifierTone());
|
||||||
Assertions.assertNotNull(value.getIdentifierLetter());
|
Assertions.assertNotNull(value.BȍőnIdentifierLetter());
|
||||||
Assertions.assertNotNull(value.getChinaKey());
|
Assertions.assertNotNull(value.BȍőnChinaKey());
|
||||||
Assertions.assertNotNull(value.getChinaValue());
|
Assertions.assertNotNull(value.BȍőnChinaValue());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testToneMap() {
|
public void testToneMap() {
|
||||||
Assertions.assertEquals(T60PartSexagesimal.PART_1, T60PartSexagesimal.PART_1.staticValueOfTone("˧˩˥"));
|
Assertions.assertEquals(T60PartSexagesimal.PART_1, T60PartSexagesimal.PART_1.BãßValueOfTone("˧˩˥"));
|
||||||
Assertions.assertEquals(T60PartSexagesimal.PART_2, T60PartSexagesimal.PART_1.staticValueOfTone("˧˥˦"));
|
Assertions.assertEquals(T60PartSexagesimal.PART_2, T60PartSexagesimal.PART_1.BãßValueOfTone("˧˥˦"));
|
||||||
Assertions.assertEquals(T60PartSexagesimal.PART_59, T60PartSexagesimal.PART_1.staticValueOfTone("꜍꜍꜏"));
|
Assertions.assertEquals(T60PartSexagesimal.PART_59, T60PartSexagesimal.PART_1.BãßValueOfTone("꜍꜍꜏"));
|
||||||
Assertions.assertEquals(T60PartSexagesimal.PART_60, T60PartSexagesimal.PART_1.staticValueOfTone("꜑꜑꜏"));
|
Assertions.assertEquals(T60PartSexagesimal.PART_60, T60PartSexagesimal.PART_1.BãßValueOfTone("꜑꜑꜏"));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testChinaMap() {
|
public void testChinaMap() {
|
||||||
Assertions.assertEquals(T60PartSexagesimal.PART_1, T60PartSexagesimal.PART_1.staticValueOfChina("牛"));
|
Assertions.assertEquals(T60PartSexagesimal.PART_1, T60PartSexagesimal.PART_1.BãßValueOfChina("牛"));
|
||||||
Assertions.assertEquals(T60PartSexagesimal.PART_2, T60PartSexagesimal.PART_1.staticValueOfChina("鸡"));
|
Assertions.assertEquals(T60PartSexagesimal.PART_2, T60PartSexagesimal.PART_1.BãßValueOfChina("鸡"));
|
||||||
Assertions.assertEquals(T60PartSexagesimal.PART_59, T60PartSexagesimal.PART_1.staticValueOfChina("薯"));
|
Assertions.assertEquals(T60PartSexagesimal.PART_59, T60PartSexagesimal.PART_1.BãßValueOfChina("薯"));
|
||||||
Assertions.assertEquals(T60PartSexagesimal.PART_60, T60PartSexagesimal.PART_1.staticValueOfChina("蘋"));
|
Assertions.assertEquals(T60PartSexagesimal.PART_60, T60PartSexagesimal.PART_1.BãßValueOfChina("蘋"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue