gdxapp4d/demo4d-numberxd/src/test/love/distributedrebirth/numberxd/base2t/T03PartTritTest.java
2022-02-05 16:25:41 +01:00

34 lines
1.3 KiB
Java

package love.distributedrebirth.numberxd.base2t;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import love.distributedrebirth.bassboonyd.BãßBȍőnAuthorInfoʸᴰ;
import love.distributedrebirth.numberxd.base2t.part.T03PartTrit;
@BãßBȍőnAuthorInfoʸᴰ(name = "willemtsade", copyright = "©Δ∞ 仙上主天")
public class T03PartTritTest {
@Test
public void testBasePart() {
for (T03PartTrit value:T03PartTrit.values()) {
Assertions.assertNotNull(value.BȍőnDialTone());
Assertions.assertNotNull(value.BȍőnChinaKey());
Assertions.assertNotNull(value.BȍőnChinaValue());
}
}
@Test
public void testToneMap() {
Assertions.assertEquals(T03PartTrit.PART_1, T03PartTrit.PART_1.BãßValueOfDialTone("˦"));
Assertions.assertEquals(T03PartTrit.PART_2, T03PartTrit.PART_1.BãßValueOfDialTone("˧"));
Assertions.assertEquals(T03PartTrit.PART_3, T03PartTrit.PART_1.BãßValueOfDialTone("˨"));
}
@Test
public void testChinaMap() {
Assertions.assertEquals(T03PartTrit.PART_1, T03PartTrit.PART_1.BãßValueOfChinaKey(""));
Assertions.assertEquals(T03PartTrit.PART_2, T03PartTrit.PART_1.BãßValueOfChinaKey(""));
Assertions.assertEquals(T03PartTrit.PART_3, T03PartTrit.PART_1.BãßValueOfChinaKey(""));
}
}