More Duytschen Code
This commit is contained in:
parent
559054cddf
commit
4c9fdbd756
35 changed files with 343 additions and 334 deletions
|
|
@ -6,7 +6,7 @@ import java.util.Map;
|
|||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import love.distributedrebirth.numberxd.base2t.bone.BassBone;
|
||||
import love.distributedrebirth.numberxd.base2t.part.BãßBȍőnPart;
|
||||
|
||||
/**
|
||||
*
|
||||
|
|
@ -27,7 +27,7 @@ public class BasePartFactoryTest {
|
|||
public void testGlobalChinaKeyMap() {
|
||||
Map<String,String> global = new HashMap<>();
|
||||
for (int base:BasePartFactory.getSupportedBases()) {
|
||||
for (BassBone part:BasePartFactory.buildBassBonesByBase(base)) {
|
||||
for (BãßBȍőnPart part:BasePartFactory.buildBassBonesByBase(base)) {
|
||||
Assertions.assertFalse(global.containsKey(part.getChinaKey()));
|
||||
global.put(part.getChinaKey(), part.getChinaValue());
|
||||
}
|
||||
|
|
@ -39,7 +39,7 @@ public class BasePartFactoryTest {
|
|||
public void testGlobalChinaValueMap() {
|
||||
Map<String,String> global = new HashMap<>();
|
||||
for (int base:BasePartFactory.getSupportedBases()) {
|
||||
for (BassBone part:BasePartFactory.buildBassBonesByBase(base)) {
|
||||
for (BãßBȍőnPart part:BasePartFactory.buildBassBonesByBase(base)) {
|
||||
Assertions.assertFalse(global.containsKey(part.getChinaValue()));
|
||||
global.put(part.getChinaValue(), part.getChinaValue());
|
||||
}
|
||||
|
|
@ -52,7 +52,7 @@ public class BasePartFactoryTest {
|
|||
boolean duplicate = false;
|
||||
Map<String,String> global = new HashMap<>();
|
||||
for (int base:BasePartFactory.getSupportedBases()) {
|
||||
for (BassBone part:BasePartFactory.buildBassBonesByBase(base)) {
|
||||
for (BãßBȍőnPart part:BasePartFactory.buildBassBonesByBase(base)) {
|
||||
if (global.containsKey(part.getIdentifierTone())) {
|
||||
duplicate = true;
|
||||
break;
|
||||
|
|
@ -69,7 +69,7 @@ public class BasePartFactoryTest {
|
|||
boolean duplicate = false;
|
||||
Map<String,String> global = new HashMap<>();
|
||||
for (int base:BasePartFactory.getSupportedBases()) {
|
||||
for (BassBone part:BasePartFactory.buildBassBonesByBase(base)) {
|
||||
for (BãßBȍőnPart part:BasePartFactory.buildBassBonesByBase(base)) {
|
||||
if (global.containsKey(part.getIdentifierLetter())) {
|
||||
duplicate = true;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue