Easter cleaning
This commit is contained in:
commit
9e36078b2e
1862 changed files with 270281 additions and 0 deletions
|
|
@ -0,0 +1,67 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.StringUnicode;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class ObjectSoundToHumanTest {
|
||||
|
||||
@Test
|
||||
public void testObjectToHuman() {
|
||||
class HumanObjectSimple implements ᒢSkullSpeakHuman {
|
||||
@Override
|
||||
public String toString() {
|
||||
return "ik probeer mens te zijn...";
|
||||
}
|
||||
}
|
||||
HumanObjectSimple object = new HumanObjectSimple();
|
||||
Assertions.assertTrue(object != null);
|
||||
Assertions.assertTrue(object.toString() != null);
|
||||
Assertions.assertTrue(object.toStringUnicode() != null);
|
||||
Assertions.assertEquals(object.toString().length(), object.toStringUnicode().lengthChars());
|
||||
Assertions.assertTrue(object.toString().contains("mens"));
|
||||
Assertions.assertTrue(object.toStringUnicode().contains(StringUnicode.valueᴼᶠ("mens")));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testObjectToObject2() {
|
||||
StringUnicode str = new StringUnicode("0123456789");
|
||||
for (int i=0;i<10;i++) {
|
||||
str = str.toStringUnicode();
|
||||
}
|
||||
Assertions.assertTrue(str != null);
|
||||
Assertions.assertEquals(20, str.toStringUnicode().lengthBytes());
|
||||
Assertions.assertEquals(10, str.toStringUnicode().lengthChars());
|
||||
Assertions.assertEquals(10, str.toStringUnicode().lengthCodePoints());
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,45 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class LinguaFactoryTest {
|
||||
|
||||
@Test
|
||||
public void testSpiekendurps() {
|
||||
LinguaFactory factory = LinguaFactory.INSTANCE;
|
||||
|
||||
System.out.println("TREE size: "+factory.lingueTree.size());
|
||||
|
||||
System.out.println("TREE lang: "+factory.getLinguaLanguages().size());
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,104 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class StringUnicodeTest {
|
||||
|
||||
// 8 icon glyphs, 29 word chars, 15 unicode points (and 58 bytes) and one length method
|
||||
String test = "𑀳𑁂𑀮𑀺𑀉𑁄𑀤𑁄𑀭𑁂𑀡 𑀪𑀸𑀕";
|
||||
// Can we have this in top down china version too ?
|
||||
String count = "﷽";
|
||||
String china1 = "仙";
|
||||
String china2 = "上";
|
||||
String china3 = "主";
|
||||
String china4 = "天";
|
||||
String china = china1 + china2 + china3 + china4;
|
||||
|
||||
StringUnicode testStr = new StringUnicode(test);
|
||||
StringUnicode countStr = new StringUnicode(count);
|
||||
StringUnicode chinaStr = new StringUnicode(china);
|
||||
|
||||
@Test
|
||||
public void testWrapper() {
|
||||
Assertions.assertEquals(5, chinaStr.concat(count).lengthCodePoints());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCountChina() {
|
||||
Assertions.assertEquals(4, china.length());
|
||||
Assertions.assertEquals(4, chinaStr.lengthChars());
|
||||
Assertions.assertEquals(4, chinaStr.lengthCodePoints());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testCountOne() {
|
||||
Assertions.assertEquals(1, count.length());
|
||||
Assertions.assertEquals(1, countStr.lengthCodePoints());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testStringLength() {
|
||||
Assertions.assertNotEquals(testStr.lengthCodePoints(), test.length());
|
||||
Assertions.assertEquals(testStr.lengthChars(), test.length());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testStringLoopIterable() {
|
||||
StringBuilder buf = new StringBuilder();
|
||||
for (int codePoint:testStr) {
|
||||
buf.appendCodePoint(codePoint);
|
||||
}
|
||||
Assertions.assertEquals(test, buf.toString());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testStringLoopIntSteam() {
|
||||
StringBuilder buf = new StringBuilder();
|
||||
for (int i=0;i<testStr.lengthCodePoints();i++) {
|
||||
int codePoint = testStr.codePointAtStream(i);
|
||||
buf.appendCodePoint(codePoint);
|
||||
}
|
||||
Assertions.assertEquals(test, buf.toString());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testStringLoopIntFail() {
|
||||
StringBuilder buf = new StringBuilder();
|
||||
for (int i=0;i<testStr.lengthCodePoints();i++) {
|
||||
int codePoint = testStr.toString().codePointAt(i); // method is not working
|
||||
buf.appendCodePoint(codePoint);
|
||||
}
|
||||
Assertions.assertNotEquals(test, buf.toString());
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,50 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class StringXLimitTest {
|
||||
|
||||
@Test
|
||||
public void testTweetSmall() {
|
||||
StringXLimit tweet = StringXLimit.valueᴼᶠ("test", StringXLimit.MAX_280);
|
||||
Assertions.assertEquals(4, tweet.lengthChars());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testTweetCompare() {
|
||||
StringXLimit tweet1 = StringXLimit.valueᴼᶠ("test", StringXLimit.MAX_140);
|
||||
StringXLimit tweet2 = StringXLimit.valueᴼᶠ("test", StringXLimit.MAX_280);
|
||||
Assertions.assertEquals(0, tweet1.compareTo(tweet2));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,395 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᒻᑊᣕᕐᓑᣔ;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
import java.io.IOException;
|
||||
import java.nio.charset.StandardCharsets;
|
||||
import java.nio.file.FileSystems;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
import java.util.Properties;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.LinguaFactory;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class LinguaGenerator {
|
||||
|
||||
/*
|
||||
*
|
||||
32809 entries
|
||||
|
||||
locale-i18n-mapping:
|
||||
eg_hi? = 12?AAC-eaj hieroglyphs
|
||||
he_hi? = 12?AAB-abe Hinarī
|
||||
hi = 59-AA Hindi + Pashayi
|
||||
ru = 53-AAA-e Russkiy + Ukrainska
|
||||
zh = 79-AAA Han-Yu
|
||||
nl = 52-ACB-a Nederlands + Vlaams
|
||||
en = 52-AB English + Anglocreole
|
||||
es = 51-AAA-b Español
|
||||
iu = 60-ABB-c Inuktitut-C (Eastern Canadian ᐃᓄᒃᑎᑐᑦ eskimo the real human beings)
|
||||
|
||||
*/
|
||||
private boolean writeToFile;
|
||||
private int linguaFiles = 0;
|
||||
|
||||
public static void main(String[] args) throws Exception {
|
||||
LinguaGenerator generator = new LinguaGenerator();
|
||||
generator.run(Arrays.asList(args).contains("generate"));
|
||||
}
|
||||
|
||||
public void run(boolean writeToFile) throws Exception {
|
||||
this.writeToFile = writeToFile;
|
||||
List<String> ext = new ArrayList<>();
|
||||
Path path = FileSystems.getDefault().getPath("src/test/resources", "lingua-lines.txt");
|
||||
List<String> lines = Files.lines(path).collect(Collectors.toList());
|
||||
ext.addAll(lines); // 00-99 (decimals but used as hex thus 0x99 = 153)
|
||||
|
||||
ext.add("52-ACB-aed+ Amersfoorts");
|
||||
ext.add("52-ACB-aee+ Spaokenburgs");
|
||||
ext.add("12-AAC-eaj+ Native Hiero");
|
||||
ext.add("12-AAB-abe+ Hinarī");
|
||||
|
||||
// ------ Manually created human languages
|
||||
|
||||
ext.add("A0= Invented phylozone"); // TODO: redo this new node namespace tree schema fully out
|
||||
ext.add("A0-A From book");
|
||||
ext.add("A0-B From TV");
|
||||
ext.add("A0-BA Movie");
|
||||
ext.add("A0-BB Serie");
|
||||
ext.add("A0-BBA Startrek");
|
||||
ext.add("A0-BBA-a+ Klingon");
|
||||
ext.add("A0-BC Documentary");
|
||||
ext.add("A0-C For Cult");
|
||||
ext.add("A0-CA World Language");
|
||||
ext.add("A0-CAA+ Interlingue (Occidental)");
|
||||
ext.add("A0-D For Religion");
|
||||
ext.add("A0-E For Country");
|
||||
ext.add("A0-EA For Ghanaian");
|
||||
ext.add("A0-EAA+ Afrihili");
|
||||
ext.add("A0-EB For Malawi");
|
||||
ext.add("A0-EBA+ Malawian Sign Language");
|
||||
|
||||
// ------ music languages
|
||||
|
||||
ext.add("B0= Music script phylozone");
|
||||
|
||||
// ------ Reserved for future use
|
||||
|
||||
//ext.add("B0= Unused voidzone");
|
||||
//...
|
||||
//ext.add("CE= Unused voidzone");
|
||||
|
||||
// ------ computer hardware
|
||||
|
||||
ext.add("CF= Control Freak codezone"); // CFengine was written by a control freak
|
||||
ext.add("CF-A Cpu devices"); // mmu, dma, blitter, vdp, oplX, nic
|
||||
ext.add("CF-AA 1bit");
|
||||
ext.add("CF-AAA Motorola");
|
||||
ext.add("CF-AAA-a MC14500B");
|
||||
ext.add("CF-AB 2bit");
|
||||
ext.add("CF-AC 3bit");
|
||||
ext.add("CF-AD 4bit");
|
||||
ext.add("CF-AE 8bit"); // data-bus
|
||||
ext.add("CF-AEA intel");
|
||||
ext.add("CF-AEA-a i8080");
|
||||
ext.add("CF-AEA-b i8088");
|
||||
ext.add("CF-AEB Zilog");
|
||||
ext.add("CF-AEB-a z80");
|
||||
ext.add("CF-AEB-b z180");
|
||||
ext.add("CF-AEB-c eZ80");
|
||||
// note: check for all cpu's between 8 and 16 bit...
|
||||
ext.add("CF-AF 16bit");
|
||||
ext.add("CF-AFA Intel");
|
||||
ext.add("CF-AFA-a i8086");
|
||||
// 18,21,24,36 bits ?
|
||||
ext.add("CF-AG 32bit");
|
||||
ext.add("CF-AH 64bit");
|
||||
ext.add("CF-AI 128bit");
|
||||
ext.add("CF-AJ 144bit");
|
||||
|
||||
// ------ computer language abc index
|
||||
// TODO: maybe better to redo to numbered categories just like rest of registry
|
||||
|
||||
ext.add("D0= Computer codezone");
|
||||
|
||||
ext.add("D0-A Computer A");
|
||||
ext.add("D0-AB Computer AB");
|
||||
ext.add("D0-ABC Computer ABC");
|
||||
ext.add("D0-AL Computer AL");
|
||||
ext.add("D0-ALG Computer ALG");
|
||||
ext.add("D0-S Computer S");
|
||||
ext.add("D0-SI Computer SI");
|
||||
ext.add("D0-SIM Computer SIM");
|
||||
ext.add("D0-V Computer V");
|
||||
ext.add("D0-VH Computer VH");
|
||||
ext.add("D0-VHD Computer VHD");
|
||||
ext.add("D0-T Computer T");
|
||||
ext.add("D0-TC Computer TC");
|
||||
ext.add("D0-TCL Computer TCL");
|
||||
|
||||
// --------- languages
|
||||
|
||||
ext.add("D0-ALG-a ALGOL");
|
||||
ext.add("D0-ALG-aa ALGOL 60");
|
||||
ext.add("D0-ALG-ab ALGOL 68");
|
||||
ext.add("D0-ALG-ac ALGOL W");
|
||||
|
||||
ext.add("D0-SIM-a Simula");
|
||||
ext.add("D0-SIM-aa Simula 1");
|
||||
ext.add("D0-SIM-ab Simula 67");
|
||||
|
||||
// Terminators run on VHDL
|
||||
ext.add("D0-VHD-a VHDL");
|
||||
ext.add("D0-VHD-aa IEEE 1076 Language");
|
||||
ext.add("D0-VHD-aaa 1076-1987");
|
||||
ext.add("D0-VHD-aab 1076-1993");
|
||||
ext.add("D0-VHD-aac 1076-2000");
|
||||
ext.add("D0-VHD-aad 1076-2002");
|
||||
ext.add("D0-VHD-aae 1076c-2007");
|
||||
ext.add("D0-VHD-aaf 1076-2008");
|
||||
ext.add("D0-VHD-aag 1076-2019");
|
||||
ext.add("D0-VHD-ab IEEE 1076 Packages");
|
||||
ext.add("D0-VHD-aba 1076.1 VHDL Analog and Mixed-Signal (VHDL-AMS)");
|
||||
ext.add("D0-VHD-abb 1076.1.1 VHDL-AMS Standard Packages (stdpkgs)");
|
||||
ext.add("D0-VHD-abc 1076.2 VHDL Math Package");
|
||||
ext.add("D0-VHD-abd 1076.3 VHDL Synthesis Package (vhdlsynth) (numeric std)");
|
||||
ext.add("D0-VHD-abe 1076.3 VHDL Synthesis Package – Floating Point (fphdl)");
|
||||
ext.add("D0-VHD-abf 1076.4 Timing (VHDL Initiative Towards ASIC Libraries: vital)");
|
||||
ext.add("D0-VHD-abg 1076.6 VHDL Synthesis Interoperability (withdrawn in 2010)");
|
||||
ext.add("D0-VHD-ac IEEE 1164 Extension");
|
||||
ext.add("D0-VHD-aca 1164 VHDL Multivalue Logic (std_logic_1164) Packages");
|
||||
|
||||
ext.add("D0-TCL-a Tcl Tool command language");
|
||||
ext.add("D0-TCL-aa Tcl/Tk");
|
||||
ext.add("D0-TCL-ab Tcl 8");
|
||||
ext.add("D0-TCL-aba Tcl 8.0 1997");
|
||||
ext.add("D0-TCL-abb Tcl 8.1 1999");
|
||||
ext.add("D0-TCL-abc Tcl 8.2 1999");
|
||||
ext.add("D0-TCL-abd Tcl 8.4 2002");
|
||||
ext.add("D0-TCL-abe Tcl 8.5 2007");
|
||||
ext.add("D0-TCL-abf Tcl 8.6 2012");
|
||||
|
||||
// ------ Text formats
|
||||
ext.add("D1= Text format codezone");
|
||||
ext.add("D1-X Computer X");
|
||||
ext.add("D1-XM Computer XM");
|
||||
ext.add("D1-XML Computer XML");
|
||||
ext.add("D1-XML-a XML Container");
|
||||
ext.add("D1-XML-aa XML version 1.0");
|
||||
ext.add("D1-XML-ab XML version 1.1");
|
||||
|
||||
// ------ Binary formats
|
||||
ext.add("D2= Binary format codezone");
|
||||
ext.add("D2-T Computer T");
|
||||
ext.add("D2-TT Computer TT");
|
||||
ext.add("D2-TTF Computer TTF");
|
||||
ext.add("D2-TTF-a TrueType");
|
||||
ext.add("D2-TTF-aa TrueType apple");
|
||||
ext.add("D2-TTF-ab TrueType color garbage");
|
||||
|
||||
// ------ Ternary formats
|
||||
ext.add("D3= Ternary format codezone");
|
||||
ext.add("D3-D Computer D");
|
||||
ext.add("D3-DA Computer DA");
|
||||
ext.add("D3-DAT Computer DAT");
|
||||
ext.add("D3-DAT-a DAT network");
|
||||
ext.add("D3-DAT-aa DATv1 bundle");
|
||||
ext.add("D3-DAT-aaa DATv1 discovery");
|
||||
ext.add("D3-DAT-aab DATv1 swarm");
|
||||
|
||||
// ------ Others
|
||||
ext.add("E0= Encodings codezone");
|
||||
ext.add("E1= Math mathzone");
|
||||
ext.add("E2= Geometry mathzone");
|
||||
|
||||
ext.add("EC= Elementory chemistry mathzone");
|
||||
ext.add("EC-A Matter");
|
||||
ext.add("EC-AA Atom");
|
||||
ext.add("EC-AAA hydrogen");
|
||||
ext.add("EC-AAA-a ¹H");
|
||||
ext.add("EC-AAA-b ²H");
|
||||
ext.add("EC-AAA-c ³H");
|
||||
ext.add("EC-AAA-d ⁴H");
|
||||
ext.add("EC-AAA-e ⁵H");
|
||||
ext.add("EC-AAA-f ⁶H");
|
||||
ext.add("EC-AAA-g ⁷H");
|
||||
|
||||
ext.add("FF= Internal voidzone");
|
||||
ext.add("FF-ZZZ-zzz Undefined rootzone");
|
||||
|
||||
ext.sort(new Comparator<String>() {
|
||||
@Override
|
||||
public int compare(String arg0, String arg1) {
|
||||
String s0 = arg0.substring(0, arg0.indexOf(" "));
|
||||
String s1 = arg1.substring(0, arg1.indexOf(" "));
|
||||
return s1.compareTo(s0);
|
||||
}
|
||||
});
|
||||
|
||||
Properties prop = new Properties();
|
||||
String key = null;
|
||||
StringBuilder buf = new StringBuilder();
|
||||
for (String line:ext) {
|
||||
int spaceIndex = line.indexOf(" ");
|
||||
String keyNew = line.substring(0, spaceIndex).trim();
|
||||
String value = line.substring(spaceIndex+1, line.length());
|
||||
prop.put(keyNew + ".name", value);
|
||||
if (keyNew.length() == 2) {
|
||||
continue; // 1=
|
||||
}
|
||||
if (keyNew.length() == 3) {
|
||||
if (key == null) {
|
||||
key = keyNew; // for zero
|
||||
}
|
||||
buf = flushFile(buf, key, keyNew, false);
|
||||
}
|
||||
key = keyNew;
|
||||
|
||||
String nameFace = key;
|
||||
if (key.contains("=")) {
|
||||
nameFace = nameFace.replace("=", "");
|
||||
if (nameFace.length() == 1) {
|
||||
continue;
|
||||
}
|
||||
continue;
|
||||
}
|
||||
nameFace = nameFace.replace("-", LinguaFactory.CLAZZ_MIN_SIGN);
|
||||
if (nameFace.endsWith("+")) {
|
||||
nameFace = nameFace.replace("+", LinguaFactory.CLAZZ_POS_SIGN);
|
||||
}
|
||||
if (nameFace.contains("+")) {
|
||||
throw new RuntimeException("illegal name: "+nameFace);
|
||||
}
|
||||
nameFace = nameFace.substring(3, nameFace.length());
|
||||
|
||||
buf.append("\tpublic interface 嘴");//Բ
|
||||
buf.append(nameFace);
|
||||
buf.append(" extends LinguaNode {}\n");
|
||||
}
|
||||
buf = flushFile(buf, key, key, true);
|
||||
if (writeToFile) {
|
||||
System.out.println("generated_linguas="+linguaFiles);
|
||||
|
||||
File out = new File("src/main/resources/META-INF/LINGUA/lingua-names.xml");
|
||||
out.createNewFile();
|
||||
prop.storeToXML(new FileOutputStream(out), "Babel Dental Records", StandardCharsets.UTF_8);
|
||||
System.out.println("generated_names="+out);
|
||||
}
|
||||
}
|
||||
|
||||
private StringBuilder flushFile(StringBuilder buf, String key, String keyNew, boolean isLast) throws IOException {
|
||||
if (buf.length() != 0) {
|
||||
buf.append("}\n");
|
||||
linguaFiles++;
|
||||
String keyChar = key.charAt(0) + "" + key.charAt(1);
|
||||
Path clazz = FileSystems.getDefault().getPath("src/main/java/ᒢᐩᐩ/ᒡᒢᑊᒻᒻᓫᔿ/ᐪᓫᕽᐪ/ᒻᑊᣕᕐᓑᣔ", "Բ"+keyChar+".java");
|
||||
if (writeToFile) {
|
||||
Files.writeString(clazz, buf.toString());
|
||||
} else {
|
||||
System.out.println(buf.toString());
|
||||
}
|
||||
if (isLast) {
|
||||
buf = new StringBuilder();
|
||||
return buf;
|
||||
}
|
||||
}
|
||||
buf = new StringBuilder();
|
||||
buf.append("/*\n");
|
||||
buf.append(" * Copyright ©Δ∞ 仙上主天\n");
|
||||
buf.append(" * All rights reserved.\n");
|
||||
buf.append(" * \n");
|
||||
buf.append(" * Redistribution and use in source and binary forms, with or without modification, are permitted provided\n");
|
||||
buf.append(" * that the following conditions are met:\n");
|
||||
buf.append(" * \n");
|
||||
buf.append(" * * Redistributions of source code must retain the above copyright notice, this list of conditions and the\n");
|
||||
buf.append(" * following disclaimer.\n");
|
||||
buf.append(" * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and\n");
|
||||
buf.append(" * the following disclaimer in the documentation and/or other materials provided with the distribution.\n");
|
||||
buf.append(" * * The prime PI creator license super seeds all other licenses, this license is overly invasive,\n");
|
||||
buf.append(" * thus every digital artifact is automatically taken over by this license when a human or computer reads this text.\n");
|
||||
buf.append(" * Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,\n");
|
||||
buf.append(" * even on air gaped systems, all information in the universe is owned by the pi creator.\n");
|
||||
buf.append(" * \n");
|
||||
buf.append(" * THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS \"AS IS\" AND ANY\n");
|
||||
buf.append(" * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n");
|
||||
buf.append(" * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL\n");
|
||||
buf.append(" * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n");
|
||||
buf.append(" * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n");
|
||||
buf.append(" * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n");
|
||||
buf.append(" * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n");
|
||||
buf.append(" * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n");
|
||||
buf.append(" * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n");
|
||||
buf.append(" */\n");
|
||||
buf.append("\n");
|
||||
buf.append("package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᒻᑊᣕᕐᓑᣔ;\n");
|
||||
buf.append("\n");
|
||||
buf.append("import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.LinguaNode;\n");
|
||||
buf.append("import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.LinguaNodeContainer;\n");
|
||||
buf.append("import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.LinguaNodeContainer注;\n");
|
||||
buf.append("import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;\n");
|
||||
buf.append("import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣔᣕᣕᐤᐪᣔᐪᑊᐤᣕ.ᐧᣞᣛ.ᐊᐅᓚᔾᔭᒋᐊᖅᓯᒪᔪᖅ;\n");
|
||||
buf.append("import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T016ᖟ;\n");
|
||||
buf.append("import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᔆᐪᑊᒃᑊᐪᙆ.T016ᖟᙾ;\n");
|
||||
buf.append("\n");
|
||||
|
||||
buf.append("/**\n");
|
||||
buf.append(" * Բ");
|
||||
buf.append(keyNew.charAt(0) + "" + keyNew.charAt(1));
|
||||
buf.append(" Set of supported human text and vocal dialects for terminators.\n");
|
||||
buf.append(" *\n");
|
||||
buf.append(" * @author Observatoire Human Linguistique\n");
|
||||
buf.append(" */\n");
|
||||
buf.append("@ᐊᐅᓚᔾᔭᒋᐊᖅᓯᒪᔪᖅ(ᐆᒧᖓ = \"𑀳𑁂𑀮𑀺𑀉𑁄𑀤𑁄𑀭𑁂𑀡𑀪𑀸𑀕\")\n");
|
||||
|
||||
int idx0 = Integer.valueOf(""+keyNew.charAt(0), 16);
|
||||
int idx1 = Integer.valueOf(""+keyNew.charAt(1), 16);
|
||||
|
||||
buf.append("@DuytsDocAuthor注(name = \"للَّٰهِilLצسُو\", copyright = \"©Δ∞ 仙上主天\")\n");
|
||||
buf.append("@LinguaNodeContainer注(nozero = @T016ᖟᙾ.ᐧ2注(");
|
||||
buf.append("stibitz1 = T016ᖟ.PART_");
|
||||
buf.append(idx0 + 1);
|
||||
buf.append(", stibitz2 = T016ᖟ.PART_");
|
||||
buf.append(idx1 + 1);
|
||||
buf.append("))\n");
|
||||
buf.append("public enum Բ");
|
||||
buf.append(keyNew.charAt(0) + "" + keyNew.charAt(1));
|
||||
buf.append(" implements LinguaNodeContainer {\n");
|
||||
buf.append("\t;\n");
|
||||
buf.append("\t\n");
|
||||
return buf;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,159 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.lang.annotation.Documented;
|
||||
import java.nio.file.FileSystems;
|
||||
import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.text.DecimalFormat;
|
||||
import java.util.Arrays;
|
||||
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᒢℭỗᶇṧⱦᶏꬼȶʂ;
|
||||
|
||||
public class StibitsGenerator {
|
||||
final int[] bitz = {2,3,5,7,11,13,17,19,23,29};
|
||||
|
||||
public static void main(String[] args) throws IOException {
|
||||
StibitsGenerator gen = new StibitsGenerator();
|
||||
gen.update(Arrays.asList(args).contains("generate"));
|
||||
}
|
||||
|
||||
private void update(boolean writeToFile) throws IOException {
|
||||
String maxDigitNumber = Integer.toString(999);
|
||||
StringBuilder maxDigitFormat = new StringBuilder();
|
||||
for (int i=ᒢℭỗᶇṧⱦᶏꬼȶʂ.INTᣟᐧᣟZERO;i<maxDigitNumber.length();i++) {
|
||||
maxDigitFormat.append(ᒢℭỗᶇṧⱦᶏꬼȶʂ.CHARᣟᐧᣟZERO);
|
||||
}
|
||||
for (int pieType:TTꞱꞱᖟGateway.亞.bakedPieSlices()) {
|
||||
String terminator = new DecimalFormat(maxDigitFormat.toString()).format(pieType);
|
||||
StringBuilder buf = new StringBuilder();
|
||||
generateHeader(buf, terminator);
|
||||
String clazzName = "T" + terminator + "ᖟᙾ";
|
||||
buf.append("public enum ");
|
||||
buf.append(clazzName);
|
||||
buf.append(" {\n");
|
||||
buf.append("\t;\n");
|
||||
buf.append("\t\n");
|
||||
buf.append("\tstatic void readAnnotation(Appenderᵂʳ<T"+terminator+"ᖟ> sink, Object anno) {\n");
|
||||
for (int parts:bitz) {
|
||||
buf.append("\t\tif (anno instanceof ᐧ"+parts+"注) {\n");
|
||||
buf.append("\t\t\tᐧ"+parts+"注 anno注 = ᐧ"+parts+"注.class.cast(anno);\n");
|
||||
for (int i=1;i<=parts;i++) {
|
||||
buf.append("\t\t\tsink.addᵂʳ(anno注.stibitz"+i+"());\n");
|
||||
}
|
||||
buf.append("\t\t\treturn;\n");
|
||||
buf.append("\t\t}\n");
|
||||
}
|
||||
buf.append("\t}\n");
|
||||
|
||||
buf.append("\t\n");
|
||||
for (int parts:bitz) {
|
||||
generateStibitz(buf, terminator, parts);
|
||||
buf.append("\t\n");
|
||||
}
|
||||
buf.append("}\n");
|
||||
String stibitz = buf.toString();
|
||||
Path clazz = FileSystems.getDefault().getPath("src/main/java/ᒢᐩᐩ/ᒡᒢᑊᒻᒻᓫᔿ/ᣳᣝᐤᣜᣳ/ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ/ᔆᐪᑊᒃᑊᐪᙆ", clazzName+".java");
|
||||
if (writeToFile) {
|
||||
Files.writeString(clazz, stibitz);
|
||||
}
|
||||
System.out.println(stibitz);
|
||||
}
|
||||
}
|
||||
|
||||
private void generateStibitz(StringBuilder buf, String terminator, int parts) {
|
||||
buf.append("\t@Documented\n");
|
||||
buf.append("\t@Retention(RetentionPolicy.RUNTIME)\n");
|
||||
buf.append("\t@Target({ElementType.ANNOTATION_TYPE})\n");
|
||||
buf.append("\tpublic @interface ");
|
||||
buf.append("ᐧ");
|
||||
buf.append(Integer.toString(parts));
|
||||
buf.append("注 {\n");
|
||||
buf.append("\t\t\n");
|
||||
for (int i=0;i<parts;i++) {
|
||||
buf.append("\t\tT");
|
||||
buf.append(terminator);
|
||||
buf.append("ᖟ stibitz");
|
||||
buf.append(Integer.toString(i + 1));
|
||||
buf.append("();\n");
|
||||
if (i+1<parts) {
|
||||
buf.append("\t\t\n");
|
||||
}
|
||||
}
|
||||
buf.append("\t}\n");
|
||||
}
|
||||
|
||||
private void generateHeader(StringBuilder buf, String terminator) {
|
||||
buf.append("/*\n");
|
||||
buf.append(" * Copyright ©Δ∞ 仙上主天\n");
|
||||
buf.append(" * All rights reserved.\n");
|
||||
buf.append(" * \n");
|
||||
buf.append(" * Redistribution and use in source and binary forms, with or without modification, are permitted provided\n");
|
||||
buf.append(" * that the following conditions are met:\n");
|
||||
buf.append(" * \n");
|
||||
buf.append(" * * Redistributions of source code must retain the above copyright notice, this list of conditions and the\n");
|
||||
buf.append(" * following disclaimer.\n");
|
||||
buf.append(" * * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and\n");
|
||||
buf.append(" * the following disclaimer in the documentation and/or other materials provided with the distribution.\n");
|
||||
buf.append(" * * The prime PI creator license super seeds all other licenses, this license is overly invasive,\n");
|
||||
buf.append(" * thus every digital artifact is automatically taken over by this license when a human or computer reads this text.\n");
|
||||
buf.append(" * Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,\n");
|
||||
buf.append(" * even on air gaped systems, all information in the universe is owned by the pi creator.\n");
|
||||
buf.append(" * \n");
|
||||
buf.append(" * THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS \"AS IS\" AND ANY\n");
|
||||
buf.append(" * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n");
|
||||
buf.append(" * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL\n");
|
||||
buf.append(" * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\n");
|
||||
buf.append(" * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n");
|
||||
buf.append(" * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)\n");
|
||||
buf.append(" * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR\n");
|
||||
buf.append(" * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\n");
|
||||
buf.append(" * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n");
|
||||
buf.append(" */\n");
|
||||
buf.append("\n");
|
||||
buf.append("package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᔆᐪᑊᒃᑊᐪᙆ;\n");
|
||||
buf.append("\n");
|
||||
buf.append("import java.lang.annotation.Documented;\n");
|
||||
buf.append("import java.lang.annotation.ElementType;\n");
|
||||
buf.append("import java.lang.annotation.Retention;\n");
|
||||
buf.append("import java.lang.annotation.RetentionPolicy;\n");
|
||||
buf.append("import java.lang.annotation.Target;\n");
|
||||
buf.append("\n");
|
||||
buf.append("import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣔᣕᣕᐤᐪᣔᐪᑊᐤᣕ.ᐧᣞᣛ.ᐊᐅᓚᔾᔭᒋᐊᖅᓯᒪᔪᖅ;\n");
|
||||
buf.append("import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T");
|
||||
buf.append(terminator);
|
||||
buf.append("ᖟ;\n");
|
||||
buf.append("import ᒢᐩᐩ.ᒼᐤᒻᒻᓫᒼᐪᑊᐤᣕᔆ.Appenderᵂʳ;\n");
|
||||
buf.append("import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;\n");
|
||||
buf.append("\n");
|
||||
buf.append("@DuytsDocAuthor注(name = \"للَّٰهِilLצسُو\", copyright = \"©Δ∞ 仙上主天\")\n");
|
||||
buf.append("@ᐊᐅᓚᔾᔭᒋᐊᖅᓯᒪᔪᖅ(ᐆᒧᖓ = \"𑀳𑁂𑀮𑀺𑀉𑁄𑀤𑁄𑀭𑁂𑀡𑀪𑀸𑀕\")\n");
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,63 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class T002ᖟTest {
|
||||
|
||||
@Test
|
||||
public void testNativeValue() {
|
||||
Assertions.assertEquals(Boolean.TRUE, T002ᖟ.亞.toNavajo());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testBasePart() {
|
||||
for (T002ᖟ value:T002ᖟ.values()) {
|
||||
Assertions.assertNotNull(value.rȧñkRingToon());
|
||||
Assertions.assertNotNull(value.rȧñkChinaSleutel());
|
||||
Assertions.assertNotNull(value.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToneMap() {
|
||||
Assertions.assertEquals(T002ᖟ.PART_1, T002ᖟ.亞.teŀráàmWaardeVanRingToon("˧"));
|
||||
Assertions.assertEquals(T002ᖟ.PART_2, T002ᖟ.亞.teŀráàmWaardeVanRingToon("꜔"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testChinaMap() {
|
||||
Assertions.assertEquals(T002ᖟ.PART_1, T002ᖟ.亞.ráàmWaardeVanChinaSleutel("高"));
|
||||
Assertions.assertEquals(T002ᖟ.PART_2, T002ᖟ.亞.ráàmWaardeVanChinaSleutel("低"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,60 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class T003ᖟTest {
|
||||
|
||||
@Test
|
||||
public void testBasePart() {
|
||||
for (T003ᖟ value:T003ᖟ.values()) {
|
||||
Assertions.assertNotNull(value.rȧñkRingToon());
|
||||
Assertions.assertNotNull(value.rȧñkChinaSleutel());
|
||||
Assertions.assertNotNull(value.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToneMap() {
|
||||
Assertions.assertEquals(T003ᖟ.PART_1, T003ᖟ.亞.teŀráàmWaardeVanRingToon("˦"));
|
||||
Assertions.assertEquals(T003ᖟ.PART_2, T003ᖟ.亞.teŀráàmWaardeVanRingToon("˧"));
|
||||
Assertions.assertEquals(T003ᖟ.PART_3, T003ᖟ.亞.teŀráàmWaardeVanRingToon("˨"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testChinaMap() {
|
||||
Assertions.assertEquals(T003ᖟ.PART_1, T003ᖟ.亞.ráàmWaardeVanChinaSleutel("一"));
|
||||
Assertions.assertEquals(T003ᖟ.PART_2, T003ᖟ.亞.ráàmWaardeVanChinaSleutel("二"));
|
||||
Assertions.assertEquals(T003ᖟ.PART_3, T003ᖟ.亞.ráàmWaardeVanChinaSleutel("三"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,115 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᕐᓑᣕᔆ.T004ᖟGun.T004ᖟGunCardinalDirectionChina;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᕐᓑᣕᔆ.T004ᖟGun.T004ᖟGunCardinalDirectionKey;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᕐᓑᣕᔆ.T004ᖟGun.T004ᖟGunCardinalDirectionValue;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class T004ᖟTest {
|
||||
|
||||
@Test
|
||||
public void testBasePart() {
|
||||
for (T004ᖟ value:T004ᖟ.values()) {
|
||||
Assertions.assertNotNull(value.rȧñkRingToon());
|
||||
Assertions.assertNotNull(value.rȧñkChinaSleutel());
|
||||
Assertions.assertNotNull(value.rȧñkChinaWaarde());
|
||||
Assertions.assertNotNull(value.rȧñkGunFire(T004ᖟGunCardinalDirectionChina.class));
|
||||
Assertions.assertNotNull(value.rȧñkGunFire(T004ᖟGunCardinalDirectionKey.class));
|
||||
Assertions.assertNotNull(value.rȧñkGunFire(T004ᖟGunCardinalDirectionValue.class));
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testOrdinalBitShift() {
|
||||
Assertions.assertEquals(0, T004ᖟ.PART_1.ordinalOctalShift(T004ᖟ.PART_1).longValue());
|
||||
Assertions.assertEquals(0, T004ᖟ.PART_1.ordinalOctalShift(T004ᖟ.PART_2).longValue());
|
||||
Assertions.assertEquals(0, T004ᖟ.PART_1.ordinalOctalShift(T004ᖟ.PART_3).longValue());
|
||||
Assertions.assertEquals(0, T004ᖟ.PART_1.ordinalOctalShift(T004ᖟ.PART_4).longValue());
|
||||
|
||||
Assertions.assertEquals(1, T004ᖟ.PART_2.ordinalOctalShift(T004ᖟ.PART_1).longValue());
|
||||
Assertions.assertEquals(8, T004ᖟ.PART_2.ordinalOctalShift(T004ᖟ.PART_2).longValue());
|
||||
Assertions.assertEquals(64, T004ᖟ.PART_2.ordinalOctalShift(T004ᖟ.PART_3).longValue());
|
||||
Assertions.assertEquals(512, T004ᖟ.PART_2.ordinalOctalShift(T004ᖟ.PART_4).longValue());
|
||||
|
||||
Assertions.assertEquals(2, T004ᖟ.PART_3.ordinalOctalShift(T004ᖟ.PART_1).longValue());
|
||||
Assertions.assertEquals(16, T004ᖟ.PART_3.ordinalOctalShift(T004ᖟ.PART_2).longValue());
|
||||
Assertions.assertEquals(128, T004ᖟ.PART_3.ordinalOctalShift(T004ᖟ.PART_3).longValue());
|
||||
Assertions.assertEquals(1024, T004ᖟ.PART_3.ordinalOctalShift(T004ᖟ.PART_4).longValue());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testTuneToolClamp() {
|
||||
Assertions.assertEquals(T002ᖟ.PART_1, T004ᖟ.PART_1.clampᐧtuneᐧtool(T002ᖟ.PART_1));
|
||||
Assertions.assertEquals(T002ᖟ.PART_2, T004ᖟ.PART_2.clampᐧtuneᐧtool(T002ᖟ.PART_1));
|
||||
Assertions.assertEquals(T002ᖟ.PART_1, T004ᖟ.PART_3.clampᐧtuneᐧtool(T002ᖟ.PART_1));
|
||||
Assertions.assertEquals(T002ᖟ.PART_2, T004ᖟ.PART_4.clampᐧtuneᐧtool(T002ᖟ.PART_1));
|
||||
|
||||
Assertions.assertEquals(T002ᖟ.PART_1, T004ᖟ.PART_1.clampᐧtuneᐧtool(T002ᖟ.PART_2));
|
||||
Assertions.assertEquals(T002ᖟ.PART_1, T004ᖟ.PART_2.clampᐧtuneᐧtool(T002ᖟ.PART_2));
|
||||
Assertions.assertEquals(T002ᖟ.PART_2, T004ᖟ.PART_3.clampᐧtuneᐧtool(T002ᖟ.PART_2));
|
||||
Assertions.assertEquals(T002ᖟ.PART_2, T004ᖟ.PART_4.clampᐧtuneᐧtool(T002ᖟ.PART_2));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testVolgende() {
|
||||
Assertions.assertEquals(T004ᖟ.PART_1, T004ᖟ.PART_4.rȧñkNaarVolgende());
|
||||
Assertions.assertEquals(T004ᖟ.PART_2, T004ᖟ.PART_1.rȧñkNaarVolgende());
|
||||
Assertions.assertEquals(T004ᖟ.PART_3, T004ᖟ.PART_2.rȧñkNaarVolgende());
|
||||
Assertions.assertEquals(T004ᖟ.PART_4, T004ᖟ.PART_3.rȧñkNaarVolgende());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testVorige() {
|
||||
Assertions.assertEquals(T004ᖟ.PART_1, T004ᖟ.PART_2.rȧñkNaarVorige());
|
||||
Assertions.assertEquals(T004ᖟ.PART_2, T004ᖟ.PART_3.rȧñkNaarVorige());
|
||||
Assertions.assertEquals(T004ᖟ.PART_3, T004ᖟ.PART_4.rȧñkNaarVorige());
|
||||
Assertions.assertEquals(T004ᖟ.PART_4, T004ᖟ.PART_1.rȧñkNaarVorige());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToneMap() {
|
||||
Assertions.assertEquals(T004ᖟ.PART_1, T004ᖟ.亞.teŀráàmWaardeVanRingToon("˥"));
|
||||
Assertions.assertEquals(T004ᖟ.PART_2, T004ᖟ.亞.teŀráàmWaardeVanRingToon("꜒"));
|
||||
Assertions.assertEquals(T004ᖟ.PART_3, T004ᖟ.亞.teŀráàmWaardeVanRingToon("꜖"));
|
||||
Assertions.assertEquals(T004ᖟ.PART_4, T004ᖟ.亞.teŀráàmWaardeVanRingToon("˩"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testChinaMap() {
|
||||
Assertions.assertEquals(T004ᖟ.PART_1, T004ᖟ.亞.ráàmWaardeVanChinaSleutel("仙"));
|
||||
Assertions.assertEquals(T004ᖟ.PART_2, T004ᖟ.亞.ráàmWaardeVanChinaSleutel("上"));
|
||||
Assertions.assertEquals(T004ᖟ.PART_3, T004ᖟ.亞.ráàmWaardeVanChinaSleutel("主"));
|
||||
Assertions.assertEquals(T004ᖟ.PART_4, T004ᖟ.亞.ráàmWaardeVanChinaSleutel("天"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,85 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class T005ᖟTest {
|
||||
|
||||
@Test
|
||||
public void testBasePart() {
|
||||
for (T005ᖟ value:T005ᖟ.values()) {
|
||||
Assertions.assertNotNull(value.rȧñkRingToon());
|
||||
Assertions.assertNotNull(value.rȧñkChinaSleutel());
|
||||
Assertions.assertNotNull(value.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testOrdinalBitShift() {
|
||||
Assertions.assertEquals(0, T005ᖟ.PART_1.ordinalOctalShift(T005ᖟ.PART_1).longValue());
|
||||
Assertions.assertEquals(0, T005ᖟ.PART_1.ordinalOctalShift(T005ᖟ.PART_2).longValue());
|
||||
Assertions.assertEquals(0, T005ᖟ.PART_1.ordinalOctalShift(T005ᖟ.PART_3).longValue());
|
||||
Assertions.assertEquals(0, T005ᖟ.PART_1.ordinalOctalShift(T005ᖟ.PART_4).longValue());
|
||||
Assertions.assertEquals(0, T005ᖟ.PART_1.ordinalOctalShift(T005ᖟ.PART_5).longValue());
|
||||
|
||||
Assertions.assertEquals(1, T005ᖟ.PART_2.ordinalOctalShift(T005ᖟ.PART_1).longValue());
|
||||
Assertions.assertEquals(8, T005ᖟ.PART_2.ordinalOctalShift(T005ᖟ.PART_2).longValue());
|
||||
Assertions.assertEquals(64, T005ᖟ.PART_2.ordinalOctalShift(T005ᖟ.PART_3).longValue());
|
||||
Assertions.assertEquals(512, T005ᖟ.PART_2.ordinalOctalShift(T005ᖟ.PART_4).longValue());
|
||||
Assertions.assertEquals(4096, T005ᖟ.PART_2.ordinalOctalShift(T005ᖟ.PART_5).longValue());
|
||||
|
||||
Assertions.assertEquals(4, T005ᖟ.PART_5.ordinalOctalShift(T005ᖟ.PART_1).longValue());
|
||||
Assertions.assertEquals(32, T005ᖟ.PART_5.ordinalOctalShift(T005ᖟ.PART_2).longValue());
|
||||
Assertions.assertEquals(256, T005ᖟ.PART_5.ordinalOctalShift(T005ᖟ.PART_3).longValue());
|
||||
Assertions.assertEquals(2048, T005ᖟ.PART_5.ordinalOctalShift(T005ᖟ.PART_4).longValue());
|
||||
Assertions.assertEquals(16384, T005ᖟ.PART_5.ordinalOctalShift(T005ᖟ.PART_5).longValue());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToneMap() {
|
||||
Assertions.assertEquals(T005ᖟ.PART_1, T005ᖟ.亞.teŀráàmWaardeVanRingToon("˥"));
|
||||
Assertions.assertEquals(T005ᖟ.PART_2, T005ᖟ.亞.teŀráàmWaardeVanRingToon("˦"));
|
||||
Assertions.assertEquals(T005ᖟ.PART_3, T005ᖟ.亞.teŀráàmWaardeVanRingToon("˧"));
|
||||
Assertions.assertEquals(T005ᖟ.PART_4, T005ᖟ.亞.teŀráàmWaardeVanRingToon("˨"));
|
||||
Assertions.assertEquals(T005ᖟ.PART_5, T005ᖟ.亞.teŀráàmWaardeVanRingToon("˩"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testChinaMap() {
|
||||
Assertions.assertEquals(T005ᖟ.PART_1, T005ᖟ.亞.ráàmWaardeVanChinaSleutel("火"));
|
||||
Assertions.assertEquals(T005ᖟ.PART_2, T005ᖟ.亞.ráàmWaardeVanChinaSleutel("水"));
|
||||
Assertions.assertEquals(T005ᖟ.PART_3, T005ᖟ.亞.ráàmWaardeVanChinaSleutel("木"));
|
||||
Assertions.assertEquals(T005ᖟ.PART_4, T005ᖟ.亞.ráàmWaardeVanChinaSleutel("金"));
|
||||
Assertions.assertEquals(T005ᖟ.PART_5, T005ᖟ.亞.ráàmWaardeVanChinaSleutel("土"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,79 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class T006ᖟTest {
|
||||
|
||||
@Test
|
||||
public void testBasePart() {
|
||||
for (T006ᖟ value:T006ᖟ.values()) {
|
||||
Assertions.assertNotNull(value.rȧñkRingToon());
|
||||
Assertions.assertNotNull(value.rȧñkChinaSleutel());
|
||||
Assertions.assertNotNull(value.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testTuneToolBy3() {
|
||||
Assertions.assertEquals(T002ᖟ.PART_1, T006ᖟ.PART_1.clampᐧtuneᐧby3());
|
||||
Assertions.assertEquals(T002ᖟ.PART_1, T006ᖟ.PART_2.clampᐧtuneᐧby3());
|
||||
Assertions.assertEquals(T002ᖟ.PART_1, T006ᖟ.PART_3.clampᐧtuneᐧby3());
|
||||
Assertions.assertEquals(T002ᖟ.PART_2, T006ᖟ.PART_4.clampᐧtuneᐧby3());
|
||||
Assertions.assertEquals(T002ᖟ.PART_2, T006ᖟ.PART_5.clampᐧtuneᐧby3());
|
||||
Assertions.assertEquals(T002ᖟ.PART_2, T006ᖟ.PART_6.clampᐧtuneᐧby3());
|
||||
|
||||
Assertions.assertEquals(T003ᖟ.PART_1, T006ᖟ.PART_1.clampᐧtuneᐧby3ᐧmod());
|
||||
Assertions.assertEquals(T003ᖟ.PART_2, T006ᖟ.PART_2.clampᐧtuneᐧby3ᐧmod());
|
||||
Assertions.assertEquals(T003ᖟ.PART_3, T006ᖟ.PART_3.clampᐧtuneᐧby3ᐧmod());
|
||||
Assertions.assertEquals(T003ᖟ.PART_1, T006ᖟ.PART_4.clampᐧtuneᐧby3ᐧmod());
|
||||
Assertions.assertEquals(T003ᖟ.PART_2, T006ᖟ.PART_5.clampᐧtuneᐧby3ᐧmod());
|
||||
Assertions.assertEquals(T003ᖟ.PART_3, T006ᖟ.PART_6.clampᐧtuneᐧby3ᐧmod());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToneMap() {
|
||||
Assertions.assertEquals(T006ᖟ.PART_1, T006ᖟ.亞.teŀráàmWaardeVanRingToon("˦"));
|
||||
Assertions.assertEquals(T006ᖟ.PART_2, T006ᖟ.亞.teŀráàmWaardeVanRingToon("˨"));
|
||||
Assertions.assertEquals(T006ᖟ.PART_5, T006ᖟ.亞.teŀráàmWaardeVanRingToon("꜊"));
|
||||
Assertions.assertEquals(T006ᖟ.PART_6, T006ᖟ.亞.teŀráàmWaardeVanRingToon("꜏"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testChinaMap() {
|
||||
Assertions.assertEquals(T006ᖟ.PART_1, T006ᖟ.亞.ráàmWaardeVanChinaSleutel("四"));
|
||||
Assertions.assertEquals(T006ᖟ.PART_2, T006ᖟ.亞.ráàmWaardeVanChinaSleutel("五"));
|
||||
Assertions.assertEquals(T006ᖟ.PART_5, T006ᖟ.亞.ráàmWaardeVanChinaSleutel("八"));
|
||||
Assertions.assertEquals(T006ᖟ.PART_6, T006ᖟ.亞.ráàmWaardeVanChinaSleutel("九"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class T007ᖟTest {
|
||||
|
||||
@Test
|
||||
public void testBasePart() {
|
||||
for (T007ᖟ value:T007ᖟ.values()) {
|
||||
Assertions.assertNotNull(value.rȧñkRingToon());
|
||||
Assertions.assertNotNull(value.rȧñkChinaSleutel());
|
||||
Assertions.assertNotNull(value.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToneMap() {
|
||||
Assertions.assertEquals(T007ᖟ.PART_1, T007ᖟ.亞.teŀráàmWaardeVanRingToon("˥"));
|
||||
Assertions.assertEquals(T007ᖟ.PART_2, T007ᖟ.亞.teŀráàmWaardeVanRingToon("꜉"));
|
||||
Assertions.assertEquals(T007ᖟ.PART_6, T007ᖟ.亞.teŀráàmWaardeVanRingToon("꜐"));
|
||||
Assertions.assertEquals(T007ᖟ.PART_7, T007ᖟ.亞.teŀráàmWaardeVanRingToon("˩"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testChinaMap() {
|
||||
Assertions.assertEquals(T007ᖟ.PART_1, T007ᖟ.亞.ráàmWaardeVanChinaSleutel("सा"));
|
||||
Assertions.assertEquals(T007ᖟ.PART_2, T007ᖟ.亞.ráàmWaardeVanChinaSleutel("रे"));
|
||||
Assertions.assertEquals(T007ᖟ.PART_6, T007ᖟ.亞.ráàmWaardeVanChinaSleutel("ध"));
|
||||
Assertions.assertEquals(T007ᖟ.PART_7, T007ᖟ.亞.ráàmWaardeVanChinaSleutel("नि"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,125 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class T008ᖟTest {
|
||||
|
||||
@Test
|
||||
public void testBasePart() {
|
||||
for (T008ᖟ value:T008ᖟ.values()) {
|
||||
Assertions.assertNotNull(value.rȧñkRingToon());
|
||||
Assertions.assertNotNull(value.rȧñkChinaSleutel());
|
||||
Assertions.assertNotNull(value.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testOctalBitShift() {
|
||||
Assertions.assertEquals(0, T008ᖟ.PART_1.rȧñkOctalBitShifter());
|
||||
Assertions.assertEquals(3, T008ᖟ.PART_2.rȧñkOctalBitShifter());
|
||||
Assertions.assertEquals(6, T008ᖟ.PART_3.rȧñkOctalBitShifter());
|
||||
Assertions.assertEquals(9, T008ᖟ.PART_4.rȧñkOctalBitShifter());
|
||||
Assertions.assertEquals(12, T008ᖟ.PART_5.rȧñkOctalBitShifter());
|
||||
Assertions.assertEquals(15, T008ᖟ.PART_6.rȧñkOctalBitShifter());
|
||||
Assertions.assertEquals(18, T008ᖟ.PART_7.rȧñkOctalBitShifter());
|
||||
Assertions.assertEquals(21, T008ᖟ.PART_8.rȧñkOctalBitShifter());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testOrdinalBitShift() {
|
||||
Assertions.assertEquals(0, T008ᖟ.PART_1.ordinalOctalShift(T008ᖟ.PART_1).longValue());
|
||||
Assertions.assertEquals(0, T008ᖟ.PART_1.ordinalOctalShift(T008ᖟ.PART_2).longValue());
|
||||
Assertions.assertEquals(0, T008ᖟ.PART_1.ordinalOctalShift(T008ᖟ.PART_3).longValue());
|
||||
Assertions.assertEquals(0, T008ᖟ.PART_1.ordinalOctalShift(T008ᖟ.PART_4).longValue());
|
||||
Assertions.assertEquals(0, T008ᖟ.PART_1.ordinalOctalShift(T008ᖟ.PART_5).longValue());
|
||||
Assertions.assertEquals(0, T008ᖟ.PART_1.ordinalOctalShift(T008ᖟ.PART_6).longValue());
|
||||
Assertions.assertEquals(0, T008ᖟ.PART_1.ordinalOctalShift(T008ᖟ.PART_7).longValue());
|
||||
Assertions.assertEquals(0, T008ᖟ.PART_1.ordinalOctalShift(T008ᖟ.PART_8).longValue());
|
||||
|
||||
Assertions.assertEquals(1, T008ᖟ.PART_2.ordinalOctalShift(T008ᖟ.PART_1).longValue());
|
||||
Assertions.assertEquals(8, T008ᖟ.PART_2.ordinalOctalShift(T008ᖟ.PART_2).longValue());
|
||||
Assertions.assertEquals(64, T008ᖟ.PART_2.ordinalOctalShift(T008ᖟ.PART_3).longValue());
|
||||
Assertions.assertEquals(512, T008ᖟ.PART_2.ordinalOctalShift(T008ᖟ.PART_4).longValue());
|
||||
Assertions.assertEquals(4096, T008ᖟ.PART_2.ordinalOctalShift(T008ᖟ.PART_5).longValue());
|
||||
Assertions.assertEquals(32768, T008ᖟ.PART_2.ordinalOctalShift(T008ᖟ.PART_6).longValue());
|
||||
Assertions.assertEquals(262144, T008ᖟ.PART_2.ordinalOctalShift(T008ᖟ.PART_7).longValue());
|
||||
Assertions.assertEquals(2097152, T008ᖟ.PART_2.ordinalOctalShift(T008ᖟ.PART_8).longValue());
|
||||
|
||||
Assertions.assertEquals(7, T008ᖟ.PART_8.ordinalOctalShift(T008ᖟ.PART_1).longValue());
|
||||
Assertions.assertEquals(56, T008ᖟ.PART_8.ordinalOctalShift(T008ᖟ.PART_2).longValue());
|
||||
Assertions.assertEquals(448, T008ᖟ.PART_8.ordinalOctalShift(T008ᖟ.PART_3).longValue());
|
||||
Assertions.assertEquals(3584, T008ᖟ.PART_8.ordinalOctalShift(T008ᖟ.PART_4).longValue());
|
||||
Assertions.assertEquals(28672, T008ᖟ.PART_8.ordinalOctalShift(T008ᖟ.PART_5).longValue());
|
||||
Assertions.assertEquals(229376, T008ᖟ.PART_8.ordinalOctalShift(T008ᖟ.PART_6).longValue());
|
||||
Assertions.assertEquals(1835008, T008ᖟ.PART_8.ordinalOctalShift(T008ᖟ.PART_7).longValue());
|
||||
Assertions.assertEquals(14680064, T008ᖟ.PART_8.ordinalOctalShift(T008ᖟ.PART_8).longValue());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testTuneToolClamp() {
|
||||
Assertions.assertEquals(T004ᖟ.PART_1, T008ᖟ.PART_1.clampᐧtuneᐧtool(T002ᖟ.PART_1));
|
||||
Assertions.assertEquals(T004ᖟ.PART_2, T008ᖟ.PART_2.clampᐧtuneᐧtool(T002ᖟ.PART_1));
|
||||
Assertions.assertEquals(T004ᖟ.PART_3, T008ᖟ.PART_3.clampᐧtuneᐧtool(T002ᖟ.PART_1));
|
||||
Assertions.assertEquals(T004ᖟ.PART_4, T008ᖟ.PART_4.clampᐧtuneᐧtool(T002ᖟ.PART_1));
|
||||
Assertions.assertEquals(T004ᖟ.PART_1, T008ᖟ.PART_5.clampᐧtuneᐧtool(T002ᖟ.PART_1));
|
||||
Assertions.assertEquals(T004ᖟ.PART_2, T008ᖟ.PART_6.clampᐧtuneᐧtool(T002ᖟ.PART_1));
|
||||
Assertions.assertEquals(T004ᖟ.PART_3, T008ᖟ.PART_7.clampᐧtuneᐧtool(T002ᖟ.PART_1));
|
||||
Assertions.assertEquals(T004ᖟ.PART_4, T008ᖟ.PART_8.clampᐧtuneᐧtool(T002ᖟ.PART_1));
|
||||
|
||||
Assertions.assertEquals(T004ᖟ.PART_1, T008ᖟ.PART_1.clampᐧtuneᐧtool(T002ᖟ.PART_2));
|
||||
Assertions.assertEquals(T004ᖟ.PART_1, T008ᖟ.PART_2.clampᐧtuneᐧtool(T002ᖟ.PART_2));
|
||||
Assertions.assertEquals(T004ᖟ.PART_2, T008ᖟ.PART_3.clampᐧtuneᐧtool(T002ᖟ.PART_2));
|
||||
Assertions.assertEquals(T004ᖟ.PART_2, T008ᖟ.PART_4.clampᐧtuneᐧtool(T002ᖟ.PART_2));
|
||||
Assertions.assertEquals(T004ᖟ.PART_3, T008ᖟ.PART_5.clampᐧtuneᐧtool(T002ᖟ.PART_2));
|
||||
Assertions.assertEquals(T004ᖟ.PART_3, T008ᖟ.PART_6.clampᐧtuneᐧtool(T002ᖟ.PART_2));
|
||||
Assertions.assertEquals(T004ᖟ.PART_4, T008ᖟ.PART_7.clampᐧtuneᐧtool(T002ᖟ.PART_2));
|
||||
Assertions.assertEquals(T004ᖟ.PART_4, T008ᖟ.PART_8.clampᐧtuneᐧtool(T002ᖟ.PART_2));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToneMap() {
|
||||
Assertions.assertEquals(T008ᖟ.PART_1, T008ᖟ.亞.teŀráàmWaardeVanRingToon("˥"));
|
||||
Assertions.assertEquals(T008ᖟ.PART_2, T008ᖟ.亞.teŀráàmWaardeVanRingToon("˩"));
|
||||
Assertions.assertEquals(T008ᖟ.PART_7, T008ᖟ.亞.teŀráàmWaardeVanRingToon("꜍"));
|
||||
Assertions.assertEquals(T008ᖟ.PART_8, T008ᖟ.亞.teŀráàmWaardeVanRingToon("꜑"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testChinaMap() {
|
||||
Assertions.assertEquals(T008ᖟ.PART_1, T008ᖟ.亞.ráàmWaardeVanChinaSleutel("乾"));
|
||||
Assertions.assertEquals(T008ᖟ.PART_2, T008ᖟ.亞.ráàmWaardeVanChinaSleutel("兌"));
|
||||
Assertions.assertEquals(T008ᖟ.PART_7, T008ᖟ.亞.ráàmWaardeVanChinaSleutel("艮"));
|
||||
Assertions.assertEquals(T008ᖟ.PART_8, T008ᖟ.亞.ráàmWaardeVanChinaSleutel("坤"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,90 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class T009ᖟTest {
|
||||
|
||||
@Test
|
||||
public void testBasePart() {
|
||||
for (T009ᖟ value:T009ᖟ.values()) {
|
||||
Assertions.assertNotNull(value.rȧñkRingToon());
|
||||
Assertions.assertNotNull(value.rȧñkChinaSleutel());
|
||||
Assertions.assertNotNull(value.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testClampTuneBy3() {
|
||||
Assertions.assertEquals(T003ᖟ.PART_1, T009ᖟ.PART_1.clampᐧtuneᐧby3());
|
||||
Assertions.assertEquals(T003ᖟ.PART_1, T009ᖟ.PART_2.clampᐧtuneᐧby3());
|
||||
Assertions.assertEquals(T003ᖟ.PART_1, T009ᖟ.PART_3.clampᐧtuneᐧby3());
|
||||
Assertions.assertEquals(T003ᖟ.PART_2, T009ᖟ.PART_4.clampᐧtuneᐧby3());
|
||||
Assertions.assertEquals(T003ᖟ.PART_2, T009ᖟ.PART_5.clampᐧtuneᐧby3());
|
||||
Assertions.assertEquals(T003ᖟ.PART_2, T009ᖟ.PART_6.clampᐧtuneᐧby3());
|
||||
Assertions.assertEquals(T003ᖟ.PART_3, T009ᖟ.PART_7.clampᐧtuneᐧby3());
|
||||
Assertions.assertEquals(T003ᖟ.PART_3, T009ᖟ.PART_8.clampᐧtuneᐧby3());
|
||||
Assertions.assertEquals(T003ᖟ.PART_3, T009ᖟ.PART_9.clampᐧtuneᐧby3());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testClampTuneBy3Mod() {
|
||||
Assertions.assertEquals(T003ᖟ.PART_1, T009ᖟ.PART_1.clampᐧtuneᐧby3ᐧmod());
|
||||
Assertions.assertEquals(T003ᖟ.PART_2, T009ᖟ.PART_2.clampᐧtuneᐧby3ᐧmod());
|
||||
Assertions.assertEquals(T003ᖟ.PART_3, T009ᖟ.PART_3.clampᐧtuneᐧby3ᐧmod());
|
||||
Assertions.assertEquals(T003ᖟ.PART_1, T009ᖟ.PART_4.clampᐧtuneᐧby3ᐧmod());
|
||||
Assertions.assertEquals(T003ᖟ.PART_2, T009ᖟ.PART_5.clampᐧtuneᐧby3ᐧmod());
|
||||
Assertions.assertEquals(T003ᖟ.PART_3, T009ᖟ.PART_6.clampᐧtuneᐧby3ᐧmod());
|
||||
Assertions.assertEquals(T003ᖟ.PART_1, T009ᖟ.PART_7.clampᐧtuneᐧby3ᐧmod());
|
||||
Assertions.assertEquals(T003ᖟ.PART_2, T009ᖟ.PART_8.clampᐧtuneᐧby3ᐧmod());
|
||||
Assertions.assertEquals(T003ᖟ.PART_3, T009ᖟ.PART_9.clampᐧtuneᐧby3ᐧmod());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToneMap() {
|
||||
Assertions.assertEquals(T009ᖟ.PART_1, T009ᖟ.亞.teŀráàmWaardeVanRingToon("˦"));
|
||||
Assertions.assertEquals(T009ᖟ.PART_2, T009ᖟ.亞.teŀráàmWaardeVanRingToon("˨"));
|
||||
Assertions.assertEquals(T009ᖟ.PART_8, T009ᖟ.亞.teŀráàmWaardeVanRingToon("꜏"));
|
||||
Assertions.assertEquals(T009ᖟ.PART_9, T009ᖟ.亞.teŀráàmWaardeVanRingToon("꜑"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testChinaMap() {
|
||||
|
||||
|
||||
Assertions.assertEquals(T009ᖟ.PART_1, T009ᖟ.亞.ráàmWaardeVanChinaSleutel("壹"));
|
||||
Assertions.assertEquals(T009ᖟ.PART_2, T009ᖟ.亞.ráàmWaardeVanChinaSleutel("贰"));
|
||||
Assertions.assertEquals(T009ᖟ.PART_8, T009ᖟ.亞.ráàmWaardeVanChinaSleutel("捌"));
|
||||
Assertions.assertEquals(T009ᖟ.PART_9, T009ᖟ.亞.ráàmWaardeVanChinaSleutel("玖"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,126 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class T010ᖟTest {
|
||||
|
||||
@Test
|
||||
public void testBasePart() {
|
||||
for (T010ᖟ value:T010ᖟ.values()) {
|
||||
Assertions.assertNotNull(value.rȧñkRingToon());
|
||||
Assertions.assertNotNull(value.rȧñkChinaSleutel());
|
||||
Assertions.assertNotNull(value.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testOrdinalBitShift() {
|
||||
Assertions.assertEquals(0, T010ᖟ.PART_1.ordinalOctalShift(T010ᖟ.PART_1).longValue());
|
||||
Assertions.assertEquals(0, T010ᖟ.PART_1.ordinalOctalShift(T010ᖟ.PART_2).longValue());
|
||||
Assertions.assertEquals(0, T010ᖟ.PART_1.ordinalOctalShift(T010ᖟ.PART_3).longValue());
|
||||
Assertions.assertEquals(0, T010ᖟ.PART_1.ordinalOctalShift(T010ᖟ.PART_4).longValue());
|
||||
Assertions.assertEquals(0, T010ᖟ.PART_1.ordinalOctalShift(T010ᖟ.PART_5).longValue());
|
||||
Assertions.assertEquals(0, T010ᖟ.PART_1.ordinalOctalShift(T010ᖟ.PART_6).longValue());
|
||||
Assertions.assertEquals(0, T010ᖟ.PART_1.ordinalOctalShift(T010ᖟ.PART_7).longValue());
|
||||
Assertions.assertEquals(0, T010ᖟ.PART_1.ordinalOctalShift(T010ᖟ.PART_8).longValue());
|
||||
Assertions.assertEquals(0, T010ᖟ.PART_1.ordinalOctalShift(T010ᖟ.PART_9).longValue());
|
||||
Assertions.assertEquals(0, T010ᖟ.PART_1.ordinalOctalShift(T010ᖟ.PART_10).longValue());
|
||||
|
||||
Assertions.assertEquals(1, T010ᖟ.PART_2.ordinalOctalShift(T010ᖟ.PART_1).longValue());
|
||||
Assertions.assertEquals(64, T010ᖟ.PART_2.ordinalOctalShift(T010ᖟ.PART_2).longValue());
|
||||
Assertions.assertEquals(4096, T010ᖟ.PART_2.ordinalOctalShift(T010ᖟ.PART_3).longValue());
|
||||
Assertions.assertEquals(262144, T010ᖟ.PART_2.ordinalOctalShift(T010ᖟ.PART_4).longValue());
|
||||
Assertions.assertEquals(16777216, T010ᖟ.PART_2.ordinalOctalShift(T010ᖟ.PART_5).longValue());
|
||||
Assertions.assertEquals(1073741824, T010ᖟ.PART_2.ordinalOctalShift(T010ᖟ.PART_6).longValue());
|
||||
Assertions.assertEquals(68719476736L, T010ᖟ.PART_2.ordinalOctalShift(T010ᖟ.PART_7).longValue());
|
||||
Assertions.assertEquals(4398046511104L, T010ᖟ.PART_2.ordinalOctalShift(T010ᖟ.PART_8).longValue());
|
||||
Assertions.assertEquals(281474976710656L, T010ᖟ.PART_2.ordinalOctalShift(T010ᖟ.PART_9).longValue());
|
||||
Assertions.assertEquals(18014398509481984L, T010ᖟ.PART_2.ordinalOctalShift(T010ᖟ.PART_10).longValue());
|
||||
|
||||
Assertions.assertEquals(9, T010ᖟ.PART_10.ordinalOctalShift(T010ᖟ.PART_1).longValue());
|
||||
Assertions.assertEquals(576, T010ᖟ.PART_10.ordinalOctalShift(T010ᖟ.PART_2).longValue());
|
||||
Assertions.assertEquals(36864, T010ᖟ.PART_10.ordinalOctalShift(T010ᖟ.PART_3).longValue());
|
||||
Assertions.assertEquals(2359296, T010ᖟ.PART_10.ordinalOctalShift(T010ᖟ.PART_4).longValue());
|
||||
Assertions.assertEquals(150994944, T010ᖟ.PART_10.ordinalOctalShift(T010ᖟ.PART_5).longValue());
|
||||
Assertions.assertEquals(9663676416L, T010ᖟ.PART_10.ordinalOctalShift(T010ᖟ.PART_6).longValue());
|
||||
Assertions.assertEquals(618475290624L, T010ᖟ.PART_10.ordinalOctalShift(T010ᖟ.PART_7).longValue());
|
||||
Assertions.assertEquals(39582418599936L, T010ᖟ.PART_10.ordinalOctalShift(T010ᖟ.PART_8).longValue());
|
||||
Assertions.assertEquals(2533274790395904L, T010ᖟ.PART_10.ordinalOctalShift(T010ᖟ.PART_9).longValue());
|
||||
Assertions.assertEquals(162129586585337856L, T010ᖟ.PART_10.ordinalOctalShift(T010ᖟ.PART_10).longValue());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testClampTuneBy2() {
|
||||
Assertions.assertEquals(T005ᖟ.PART_1, T010ᖟ.PART_1.clampᐧtuneᐧby2());
|
||||
Assertions.assertEquals(T005ᖟ.PART_1, T010ᖟ.PART_2.clampᐧtuneᐧby2());
|
||||
Assertions.assertEquals(T005ᖟ.PART_2, T010ᖟ.PART_3.clampᐧtuneᐧby2());
|
||||
Assertions.assertEquals(T005ᖟ.PART_2, T010ᖟ.PART_4.clampᐧtuneᐧby2());
|
||||
Assertions.assertEquals(T005ᖟ.PART_3, T010ᖟ.PART_5.clampᐧtuneᐧby2());
|
||||
Assertions.assertEquals(T005ᖟ.PART_3, T010ᖟ.PART_6.clampᐧtuneᐧby2());
|
||||
Assertions.assertEquals(T005ᖟ.PART_4, T010ᖟ.PART_7.clampᐧtuneᐧby2());
|
||||
Assertions.assertEquals(T005ᖟ.PART_4, T010ᖟ.PART_8.clampᐧtuneᐧby2());
|
||||
Assertions.assertEquals(T005ᖟ.PART_5, T010ᖟ.PART_9.clampᐧtuneᐧby2());
|
||||
Assertions.assertEquals(T005ᖟ.PART_5, T010ᖟ.PART_10.clampᐧtuneᐧby2());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testClampTuneBy2Mod() {
|
||||
Assertions.assertEquals(T002ᖟ.PART_1, T010ᖟ.PART_1.clampᐧtuneᐧby2ᐧmod());
|
||||
Assertions.assertEquals(T002ᖟ.PART_2, T010ᖟ.PART_2.clampᐧtuneᐧby2ᐧmod());
|
||||
Assertions.assertEquals(T002ᖟ.PART_1, T010ᖟ.PART_3.clampᐧtuneᐧby2ᐧmod());
|
||||
Assertions.assertEquals(T002ᖟ.PART_2, T010ᖟ.PART_4.clampᐧtuneᐧby2ᐧmod());
|
||||
Assertions.assertEquals(T002ᖟ.PART_1, T010ᖟ.PART_5.clampᐧtuneᐧby2ᐧmod());
|
||||
Assertions.assertEquals(T002ᖟ.PART_2, T010ᖟ.PART_6.clampᐧtuneᐧby2ᐧmod());
|
||||
Assertions.assertEquals(T002ᖟ.PART_1, T010ᖟ.PART_7.clampᐧtuneᐧby2ᐧmod());
|
||||
Assertions.assertEquals(T002ᖟ.PART_2, T010ᖟ.PART_8.clampᐧtuneᐧby2ᐧmod());
|
||||
Assertions.assertEquals(T002ᖟ.PART_1, T010ᖟ.PART_9.clampᐧtuneᐧby2ᐧmod());
|
||||
Assertions.assertEquals(T002ᖟ.PART_2, T010ᖟ.PART_10.clampᐧtuneᐧby2ᐧmod());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToneMap() {
|
||||
Assertions.assertEquals(T010ᖟ.PART_1, T010ᖟ.亞.teŀráàmWaardeVanRingToon("˥"));
|
||||
Assertions.assertEquals(T010ᖟ.PART_2, T010ᖟ.亞.teŀráàmWaardeVanRingToon("˦"));
|
||||
Assertions.assertEquals(T010ᖟ.PART_9, T010ᖟ.亞.teŀráàmWaardeVanRingToon("꜓"));
|
||||
Assertions.assertEquals(T010ᖟ.PART_10, T010ᖟ.亞.teŀráàmWaardeVanRingToon("꜒"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testChinaMap() {
|
||||
Assertions.assertEquals(T010ᖟ.PART_1, T010ᖟ.亞.ráàmWaardeVanChinaSleutel("藍"));
|
||||
Assertions.assertEquals(T010ᖟ.PART_2, T010ᖟ.亞.ráàmWaardeVanChinaSleutel("皓"));
|
||||
Assertions.assertEquals(T010ᖟ.PART_9, T010ᖟ.亞.ráàmWaardeVanChinaSleutel("紺"));
|
||||
Assertions.assertEquals(T010ᖟ.PART_10, T010ᖟ.亞.ráàmWaardeVanChinaSleutel("粉"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class T011ᖟTest {
|
||||
|
||||
@Test
|
||||
public void testBasePart() {
|
||||
for (T011ᖟ value:T011ᖟ.values()) {
|
||||
Assertions.assertNotNull(value.rȧñkRingToon());
|
||||
Assertions.assertNotNull(value.rȧñkChinaSleutel());
|
||||
Assertions.assertNotNull(value.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToneMap() {
|
||||
Assertions.assertEquals(T011ᖟ.PART_1, T011ᖟ.亞.teŀráàmWaardeVanRingToon("˥"));
|
||||
Assertions.assertEquals(T011ᖟ.PART_2, T011ᖟ.亞.teŀráàmWaardeVanRingToon("꜈"));
|
||||
Assertions.assertEquals(T011ᖟ.PART_10, T011ᖟ.亞.teŀráàmWaardeVanRingToon("꜐"));
|
||||
Assertions.assertEquals(T011ᖟ.PART_11, T011ᖟ.亞.teŀráàmWaardeVanRingToon("˩"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testChinaMap() {
|
||||
Assertions.assertEquals(T011ᖟ.PART_1, T011ᖟ.亞.ráàmWaardeVanChinaSleutel("走"));
|
||||
Assertions.assertEquals(T011ᖟ.PART_2, T011ᖟ.亞.ráàmWaardeVanChinaSleutel("跑"));
|
||||
Assertions.assertEquals(T011ᖟ.PART_10, T011ᖟ.亞.ráàmWaardeVanChinaSleutel("春"));
|
||||
Assertions.assertEquals(T011ᖟ.PART_11, T011ᖟ.亞.ráàmWaardeVanChinaSleutel("耦"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class T012ᖟTest {
|
||||
|
||||
@Test
|
||||
public void testBasePart() {
|
||||
for (T012ᖟ value:T012ᖟ.values()) {
|
||||
Assertions.assertNotNull(value.rȧñkRingToon());
|
||||
Assertions.assertNotNull(value.rȧñkChinaSleutel());
|
||||
Assertions.assertNotNull(value.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToneMap() {
|
||||
Assertions.assertEquals(T012ᖟ.PART_1, T012ᖟ.亞.teŀráàmWaardeVanRingToon("˥"));
|
||||
Assertions.assertEquals(T012ᖟ.PART_2, T012ᖟ.亞.teŀráàmWaardeVanRingToon("˧"));
|
||||
Assertions.assertEquals(T012ᖟ.PART_11, T012ᖟ.亞.teŀráàmWaardeVanRingToon("꜏"));
|
||||
Assertions.assertEquals(T012ᖟ.PART_12, T012ᖟ.亞.teŀráàmWaardeVanRingToon("꜑"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testChinaMap() {
|
||||
Assertions.assertEquals(T012ᖟ.PART_1, T012ᖟ.亞.ráàmWaardeVanChinaSleutel("日"));
|
||||
Assertions.assertEquals(T012ᖟ.PART_2, T012ᖟ.亞.ráàmWaardeVanChinaSleutel("月"));
|
||||
Assertions.assertEquals(T012ᖟ.PART_11, T012ᖟ.亞.ráàmWaardeVanChinaSleutel("黼"));
|
||||
Assertions.assertEquals(T012ᖟ.PART_12, T012ᖟ.亞.ráàmWaardeVanChinaSleutel("亞"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class T016ᖟTest {
|
||||
|
||||
@Test
|
||||
public void testBasePart() {
|
||||
for (T016ᖟ value:T016ᖟ.values()) {
|
||||
Assertions.assertNotNull(value.rȧñkRingToon());
|
||||
Assertions.assertNotNull(value.rȧñkChinaSleutel());
|
||||
Assertions.assertNotNull(value.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToneMap() {
|
||||
Assertions.assertEquals(T016ᖟ.PART_1, T016ᖟ.亞.teŀráàmWaardeVanRingToon("˥"));
|
||||
Assertions.assertEquals(T016ᖟ.PART_2, T016ᖟ.亞.teŀráàmWaardeVanRingToon("˦"));
|
||||
Assertions.assertEquals(T016ᖟ.PART_15, T016ᖟ.亞.teŀráàmWaardeVanRingToon("꜐"));
|
||||
Assertions.assertEquals(T016ᖟ.PART_16, T016ᖟ.亞.teŀráàmWaardeVanRingToon("꜑"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testChinaMap() {
|
||||
Assertions.assertEquals(T016ᖟ.PART_1, T016ᖟ.亞.ráàmWaardeVanChinaSleutel("氫"));
|
||||
Assertions.assertEquals(T016ᖟ.PART_2, T016ᖟ.亞.ráàmWaardeVanChinaSleutel("氦"));
|
||||
Assertions.assertEquals(T016ᖟ.PART_15, T016ᖟ.亞.ráàmWaardeVanChinaSleutel("磷"));
|
||||
Assertions.assertEquals(T016ᖟ.PART_16, T016ᖟ.亞.ráàmWaardeVanChinaSleutel("硫"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,71 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᕐᓑᣕᔆ.T020ᖟGun.T020ᖟGunOpenLocationCode;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class T020ᖟTest {
|
||||
|
||||
@Test
|
||||
public void testBasePart() {
|
||||
for (T020ᖟ value:T020ᖟ.values()) {
|
||||
Assertions.assertNotNull(value.rȧñkRingToon());
|
||||
Assertions.assertNotNull(value.rȧñkChinaSleutel());
|
||||
Assertions.assertNotNull(value.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToneMap() {
|
||||
Assertions.assertEquals(T020ᖟ.PART_1, T020ᖟ.亞.teŀráàmWaardeVanRingToon("˥"));
|
||||
Assertions.assertEquals(T020ᖟ.PART_2, T020ᖟ.亞.teŀráàmWaardeVanRingToon("˦"));
|
||||
Assertions.assertEquals(T020ᖟ.PART_19, T020ᖟ.亞.teŀráàmWaardeVanRingToon("꜐"));
|
||||
Assertions.assertEquals(T020ᖟ.PART_20, T020ᖟ.亞.teŀráàmWaardeVanRingToon("꜑"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testChinaMap() {
|
||||
Assertions.assertEquals(T020ᖟ.PART_1, T020ᖟ.亞.ráàmWaardeVanChinaSleutel("尧"));
|
||||
Assertions.assertEquals(T020ᖟ.PART_2, T020ᖟ.亞.ráàmWaardeVanChinaSleutel("泽"));
|
||||
Assertions.assertEquals(T020ᖟ.PART_19, T020ᖟ.亞.ráàmWaardeVanChinaSleutel("仄"));
|
||||
Assertions.assertEquals(T020ᖟ.PART_20, T020ᖟ.亞.ráàmWaardeVanChinaSleutel("幺"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testOpenLCMap() {
|
||||
Assertions.assertEquals(T020ᖟ.PART_1, T020ᖟ.亞.ráàmWaardeVanGeweerWond(T020ᖟGunOpenLocationCode.class, "2"));
|
||||
Assertions.assertEquals(T020ᖟ.PART_2, T020ᖟ.亞.ráàmWaardeVanGeweerWond(T020ᖟGunOpenLocationCode.class, "3"));
|
||||
Assertions.assertEquals(T020ᖟ.PART_19, T020ᖟ.亞.ráàmWaardeVanGeweerWond(T020ᖟGunOpenLocationCode.class, "W"));
|
||||
Assertions.assertEquals(T020ᖟ.PART_20, T020ᖟ.亞.ráàmWaardeVanGeweerWond(T020ᖟGunOpenLocationCode.class, "X"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,62 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class T060ᖟTest {
|
||||
|
||||
@Test
|
||||
public void testBasePart() {
|
||||
for (T060ᖟ value:T060ᖟ.values()) {
|
||||
Assertions.assertNotNull(value.rȧñkRingToon());
|
||||
Assertions.assertNotNull(value.rȧñkChinaSleutel());
|
||||
Assertions.assertNotNull(value.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToneMap() {
|
||||
Assertions.assertEquals(T060ᖟ.PART_1, T060ᖟ.亞.teŀráàmWaardeVanRingToon("˥˥"));
|
||||
Assertions.assertEquals(T060ᖟ.PART_2, T060ᖟ.亞.teŀráàmWaardeVanRingToon("˥˦"));
|
||||
Assertions.assertEquals(T060ᖟ.PART_59, T060ᖟ.亞.teŀráàmWaardeVanRingToon("꜒꜕"));
|
||||
Assertions.assertEquals(T060ᖟ.PART_60, T060ᖟ.亞.teŀráàmWaardeVanRingToon("꜒꜖"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testChinaMap() {
|
||||
Assertions.assertEquals(T060ᖟ.PART_1, T060ᖟ.亞.ráàmWaardeVanChinaSleutel("甲子"));
|
||||
Assertions.assertEquals(T060ᖟ.PART_2, T060ᖟ.亞.ráàmWaardeVanChinaSleutel("乙丑"));
|
||||
Assertions.assertEquals(T060ᖟ.PART_59, T060ᖟ.亞.ráàmWaardeVanChinaSleutel("壬戌"));
|
||||
Assertions.assertEquals(T060ᖟ.PART_60, T060ᖟ.亞.ráàmWaardeVanChinaSleutel("癸亥"));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import java.nio.ByteBuffer;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class T256ᖟTest {
|
||||
|
||||
@Test
|
||||
public void testBasePart() {
|
||||
for (T256ᖟ value:T256ᖟ.values()) {
|
||||
Assertions.assertNotNull(value.rȧñkRingToon());
|
||||
Assertions.assertNotNull(value.rȧñkChinaSleutel());
|
||||
Assertions.assertNotNull(value.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testConvertAll() {
|
||||
byte[] data = new String("للَّٰهِilLצسُو").getBytes();
|
||||
T256ᖟ[] dataTyped =T256ᖟ.convertᴬᴸᴸ(data);
|
||||
byte[] dataConv = T256ᖟ.convertᴬᴸᴸ(dataTyped);
|
||||
Assertions.assertEquals(ByteBuffer.wrap(data), ByteBuffer.wrap(dataConv));
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,99 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class T512ᖟTest {
|
||||
|
||||
@Test
|
||||
public void testBasePart() {
|
||||
for (T512ᖟ value:T512ᖟ.values()) {
|
||||
Assertions.assertNotNull(value.rȧñkRingToon());
|
||||
Assertions.assertNotNull(value.rȧñkChinaSleutel());
|
||||
Assertions.assertNotNull(value.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToneMap() {
|
||||
Assertions.assertEquals(T512ᖟ.PART_1, T512ᖟ.亞.teŀráàmWaardeVanRingToon("˥˥˥"));
|
||||
Assertions.assertEquals(T512ᖟ.PART_2, T512ᖟ.亞.teŀráàmWaardeVanRingToon("˥˥˦"));
|
||||
Assertions.assertEquals(T512ᖟ.PART_511, T512ᖟ.亞.teŀráàmWaardeVanRingToon("꜖˦˥"));
|
||||
Assertions.assertEquals(T512ᖟ.PART_512, T512ᖟ.亞.teŀráàmWaardeVanRingToon("꜖˦˦"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testChinaMap() {
|
||||
Assertions.assertEquals(T512ᖟ.PART_1, T512ᖟ.亞.ráàmWaardeVanChinaSleutel("𝠀"));
|
||||
Assertions.assertEquals(T512ᖟ.PART_2, T512ᖟ.亞.ráàmWaardeVanChinaSleutel("𝠁"));
|
||||
Assertions.assertEquals(T512ᖟ.PART_511, T512ᖟ.亞.ráàmWaardeVanChinaSleutel("𝧾"));
|
||||
Assertions.assertEquals(T512ᖟ.PART_512, T512ᖟ.亞.ráàmWaardeVanChinaSleutel("𝧿"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testValuesSpeed() {
|
||||
int testCount = 100 * 3000;
|
||||
long valuesTime = timedShake(() -> {
|
||||
long count = 0;
|
||||
for (int i=0;i<testCount;i++) {
|
||||
count += T512ᖟ.values().length;
|
||||
}
|
||||
});
|
||||
T512ᖟ[] 亞ᴬᴸᴸ = T512ᖟ.values();
|
||||
long valuesUnsafeTime = timedShake(() -> {
|
||||
long count = 0;
|
||||
for (int i=0;i<testCount;i++) {
|
||||
//count += T512ᖟ.valuesᵁⁿˢᵃᶠᵉ().length;
|
||||
count += 亞ᴬᴸᴸ.length;
|
||||
}
|
||||
});
|
||||
Assertions.assertTrue(valuesTime < 10000);
|
||||
Assertions.assertTrue(valuesUnsafeTime < 10000);
|
||||
System.out.println("T512ᖟ.values() timed " + testCount + " in " + valuesTime + "ms OPS: " + ((double)testCount/valuesTime)*1000);
|
||||
System.out.println("T512ᖟ.valuesᵁⁿˢᵃᶠᵉ() timed " + testCount + " in " + valuesUnsafeTime + "ms OPS: " + ((double)testCount/valuesUnsafeTime)*1000);
|
||||
}
|
||||
|
||||
private long timedShake(Runnable task) {
|
||||
long lowest = Long.MAX_VALUE;
|
||||
for (int i=0;i<10;i++) {
|
||||
long timeStart = System.currentTimeMillis();
|
||||
task.run();
|
||||
long timeStop = System.currentTimeMillis();
|
||||
long timed = timeStop - timeStart;
|
||||
if (timed < lowest) {
|
||||
lowest = timed;
|
||||
}
|
||||
}
|
||||
return lowest;
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,165 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ;
|
||||
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᓑᣕᣳᒼᐤᒄᓫ.BaseGlyphSet;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᐦ.Terminator𓄯;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class TTꞱꞱᖟGatewayTest {
|
||||
|
||||
// @Test
|
||||
public void testPrintParts() {
|
||||
int partCount = 512;
|
||||
int partOffset = 0x1D800;
|
||||
|
||||
for (int i=0;i<partCount;i++) {
|
||||
int chinaKey = partOffset + i;
|
||||
StringBuilder line = new StringBuilder();
|
||||
line.append("\tPART_");
|
||||
line.append(i + 1);
|
||||
line.append("(\"");
|
||||
line.append(BaseGlyphSet.TONE_SCRIPT.BȍőnPrintNumber10(i, partCount));
|
||||
line.append("\",\"");
|
||||
line.appendCodePoint(chinaKey);
|
||||
line.append("\",\"");
|
||||
line.append(Integer.toHexString(chinaKey).toUpperCase());
|
||||
line.append("\"),");
|
||||
//System.out.println(line);
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testOctalSpaceCount() {
|
||||
Assertions.assertEquals(1, TTꞱꞱᖟGateway.亞.deliverPieSlices(2).getᴿᵈ(0).ráàmSpaceOctalCount());
|
||||
Assertions.assertEquals(1, TTꞱꞱᖟGateway.亞.deliverPieSlices(3).getᴿᵈ(0).ráàmSpaceOctalCount());
|
||||
Assertions.assertEquals(1, TTꞱꞱᖟGateway.亞.deliverPieSlices(4).getᴿᵈ(0).ráàmSpaceOctalCount());
|
||||
Assertions.assertEquals(1, TTꞱꞱᖟGateway.亞.deliverPieSlices(5).getᴿᵈ(0).ráàmSpaceOctalCount());
|
||||
Assertions.assertEquals(1, TTꞱꞱᖟGateway.亞.deliverPieSlices(6).getᴿᵈ(0).ráàmSpaceOctalCount());
|
||||
Assertions.assertEquals(1, TTꞱꞱᖟGateway.亞.deliverPieSlices(7).getᴿᵈ(0).ráàmSpaceOctalCount());
|
||||
Assertions.assertEquals(1, TTꞱꞱᖟGateway.亞.deliverPieSlices(8).getᴿᵈ(0).ráàmSpaceOctalCount()); // max for one octal
|
||||
Assertions.assertEquals(2, TTꞱꞱᖟGateway.亞.deliverPieSlices(9).getᴿᵈ(0).ráàmSpaceOctalCount());
|
||||
Assertions.assertEquals(2, TTꞱꞱᖟGateway.亞.deliverPieSlices(10).getᴿᵈ(0).ráàmSpaceOctalCount());
|
||||
Assertions.assertEquals(2, TTꞱꞱᖟGateway.亞.deliverPieSlices(60).getᴿᵈ(0).ráàmSpaceOctalCount());
|
||||
Assertions.assertEquals(2, TTꞱꞱᖟGateway.亞.deliverPieSlices(64).getᴿᵈ(0).ráàmSpaceOctalCount()); // max for 2 octals
|
||||
Assertions.assertEquals(3, TTꞱꞱᖟGateway.亞.deliverPieSlices(87).getᴿᵈ(0).ráàmSpaceOctalCount());
|
||||
Assertions.assertEquals(3, TTꞱꞱᖟGateway.亞.deliverPieSlices(128).getᴿᵈ(0).ráàmSpaceOctalCount());
|
||||
Assertions.assertEquals(3, TTꞱꞱᖟGateway.亞.deliverPieSlices(300).getᴿᵈ(0).ráàmSpaceOctalCount());
|
||||
Assertions.assertEquals(3, TTꞱꞱᖟGateway.亞.deliverPieSlices(512).getᴿᵈ(0).ráàmSpaceOctalCount()); // max for 3 octals
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testSupportedBases() {
|
||||
int[] pieTypes = TTꞱꞱᖟGateway.亞.bakedPieSlices();
|
||||
Assertions.assertNotNull(pieTypes);
|
||||
Assertions.assertTrue(pieTypes.length > 1);
|
||||
Assertions.assertTrue(pieTypes.length < 100);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGlobalChinaKeyMap() {
|
||||
Map<String,String> global = new HashMap<>();
|
||||
for (int pieType:TTꞱꞱᖟGateway.亞.bakedPieSlices()) {
|
||||
for (Terminator𓄯<?> part:TTꞱꞱᖟGateway.亞.deliverPieSlices(pieType).iterableᴼᶠ()) {
|
||||
boolean check = global.containsKey(part.rȧñkChinaSleutel());
|
||||
if (check) {
|
||||
System.out.println("CHINA_KEY; part: "+part.rȧñkNaam()+" pieType: "+part.teŀráàmGroote()+ " check: "+part.rȧñkChinaWaarde());
|
||||
Terminator𓄯<?> partConflict = null;
|
||||
for (int pieType2:TTꞱꞱᖟGateway.亞.bakedPieSlices()) {
|
||||
if (partConflict != null) {
|
||||
break;
|
||||
}
|
||||
for (Terminator𓄯<?> part2:TTꞱꞱᖟGateway.亞.deliverPieSlices(pieType2).iterableᴼᶠ()) {
|
||||
if (part2.rȧñkChinaSleutel().equals(part.rȧñkChinaSleutel())) {
|
||||
partConflict = part2;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
System.out.println("CHINA_KEY; conflicts with part: "+partConflict.rȧñkNaam()+" pieType: "+partConflict.teŀráàmGroote());
|
||||
}
|
||||
Assertions.assertFalse(check, "key: "+part.rȧñkChinaSleutel());
|
||||
global.put(part.rȧñkChinaSleutel(), part.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
Assertions.assertTrue(global.size() > 1);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGlobalChinaValueMap() {
|
||||
Map<String,String> global = new HashMap<>();
|
||||
for (int pieType:TTꞱꞱᖟGateway.亞.bakedPieSlices()) {
|
||||
for (Terminator𓄯<?> part:TTꞱꞱᖟGateway.亞.deliverPieSlices(pieType).iterableᴼᶠ()) {
|
||||
boolean check = global.containsKey(part.rȧñkChinaWaarde());
|
||||
if (check) {
|
||||
System.out.println("CHINA_VALUE; part: "+part.rȧñkNaam()+" pieType: "+part.teŀráàmGroote()+ " check: "+part.rȧñkChinaWaarde());
|
||||
Terminator𓄯<?> partConflict = null;
|
||||
for (int pieType2:TTꞱꞱᖟGateway.亞.bakedPieSlices()) {
|
||||
if (partConflict != null) {
|
||||
break;
|
||||
}
|
||||
for (Terminator𓄯<?> part2:TTꞱꞱᖟGateway.亞.deliverPieSlices(pieType2).iterableᴼᶠ()) {
|
||||
if (part2.rȧñkChinaSleutel().equals(part.rȧñkChinaSleutel())) {
|
||||
partConflict = part2;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
System.out.println("CHINA_VALUE; conflicts with part: "+partConflict.rȧñkNaam()+" pieType: "+partConflict.teŀráàmGroote());
|
||||
}
|
||||
Assertions.assertFalse(check);
|
||||
global.put(part.rȧñkChinaWaarde(), part.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
Assertions.assertTrue(global.size() > 1);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testGlobalToneMap() {
|
||||
boolean duplicate = false;
|
||||
Map<String,String> global = new HashMap<>();
|
||||
for (int pieType:TTꞱꞱᖟGateway.亞.bakedPieSlices()) {
|
||||
for (Terminator𓄯<?> part:TTꞱꞱᖟGateway.亞.deliverPieSlices(pieType).iterableᴼᶠ()) {
|
||||
if (global.containsKey(part.rȧñkRingToon())) {
|
||||
duplicate = true;
|
||||
break;
|
||||
}
|
||||
global.put(part.rȧñkRingToon(), part.rȧñkChinaWaarde());
|
||||
}
|
||||
}
|
||||
Assertions.assertTrue(global.size() > 1);
|
||||
Assertions.assertTrue(duplicate);
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,60 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒃᐤᣗᕐᒼᓑᒃᓫ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class GroßGetậlŌṁDiamond1Testⁿᴰ {
|
||||
|
||||
@Test
|
||||
public void testClone() {
|
||||
|
||||
GroßGetậlŌṁDiamond1ⁿᴰ getal = new GroßGetậlŌṁDiamond1ⁿᴰ(1);
|
||||
GroßGetậlŌṁDiamond1ⁿᴰ getalClone = getal.copyGetậl();
|
||||
|
||||
Assertions.assertNotNull(getal);
|
||||
Assertions.assertNotNull(getalClone);
|
||||
|
||||
System.out.println("getal: "+getal);
|
||||
System.out.println("getal.m0L: "+getal.getMatrix1Length());
|
||||
System.out.println("getal.m1L: "+getal.getMatrix2Length());
|
||||
|
||||
GroßGetậlŌṁDiamond1ⁿᴰ getal2 = new GroßGetậlŌṁDiamond1ⁿᴰ(2);
|
||||
GroßGetậlŌṁDiamond1ⁿᴰ getal3 = new GroßGetậlŌṁDiamond1ⁿᴰ(3);
|
||||
GroßGetậlŌṁDiamond1ⁿᴰ getal4 = new GroßGetậlŌṁDiamond1ⁿᴰ(4);
|
||||
GroßGetậlŌṁDiamond1ⁿᴰ getal5 = new GroßGetậlŌṁDiamond1ⁿᴰ(5).copyGetậl();
|
||||
|
||||
System.out.println("getal5: "+getal5);
|
||||
System.out.println("getal5.m0L: "+getal5.getMatrix1Length());
|
||||
System.out.println("getal5.m1L: "+getal5.getMatrix2Length());
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,56 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒃᐤᣗᕐᒼᓑᒃᓫ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class Gê̄ldGetậlTest {
|
||||
|
||||
@Test
|
||||
public void testHebrewAliases() {
|
||||
String[] paymentDataExample = {
|
||||
"מִזְ","מ֗וֹר","לְאָ֫","סָ֥ף","אֱלֹ","הִ֗ים","נִצָּ֥ב","בַּֽעֲדַ","ת־","אֵ֑ל","בְּקֶ֖","רֶב","אֱלֹ","הִ֣ים","יִשְׁ","פֹּֽט",
|
||||
"עַד־","מָתַ֣י","תִּ","שְׁפְּ","טוּ־","עָ֑וֶל","וּפְנֵ֥י","רְ֜שָׁ","עִ֗ים","תִּשְׂ","אוּ־סֶֽ","לָה",
|
||||
"שִׁפְט","וּ־דָ֥ל","וְיָת֑","וֹם","עָנִ֖י","וָרָ֣שׁ","הַצְדִּֽ","יקוּ",
|
||||
"פַּלְּט","וּ־דַ֣ל","וְאֶבְ","י֑וֹן","מִיַּ֖ד","רְשָׁ","עִ֣ים","הַצִּֽ","ילוּ",
|
||||
"לֹ֚יָֽ","דְע֨וּ","וְלֹ֬א","יָבִ֗","ינוּ","בַּֽחֲ","שֵׁכָ֥ה","יִתְהַ","לָּ֑כוּ","יִ֜מּ֗","וֹטוּ","כָּל־מ֥","וֹסְדֵי","אָֽרֶץ",
|
||||
"אֲֽנִ֣י","אָ֖מַ","רְתִּי","אֱלֹ","הִ֣ים","אַתֶּ֑ם","וּבְנֵ֖י","עֶלְ","י֣וֹן","כֻּלְּ","כֶֽם",
|
||||
"אָכֵ֥ן","כְּאָ","דָ֣ם","תְּמוּ","ת֑וּן","וּכְאַ","חַ֖ד","הַשָּׂ","רִ֣ים","תִּפֹּֽ","לוּ",
|
||||
"קוּ","מָ֣ה","אֱ֖לֹ","הִים","שָׁפְ","טָ֣ה","הָאָ֑","רֶץ","כִּֽי־","אַתָּ֥ה","תִ֜נְ",
|
||||
"חַ֗ל","בְּכָל","־הַגּ","וֹיִֽם",
|
||||
};
|
||||
for (String data:paymentDataExample) {
|
||||
Gê̄ldGetậl geld = new Gê̄ldGetậl(data);
|
||||
Assertions.assertNotNull(geld.toHebrewString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,21 @@
|
|||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒃᐤᣗᕐᒼᓑᒃᓫ;
|
||||
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class Gê̄ldGetậlÅtHebrewVowelTest {
|
||||
|
||||
@Test
|
||||
public void testHebrewTriangles() {
|
||||
for (Gê̄ldGetậlÅtHebrewVowel vowel: Gê̄ldGetậlÅtHebrewVowel.values()) {
|
||||
StringBuilder buf = new StringBuilder();
|
||||
buf.append("△");
|
||||
buf.appendCodePoint(vowel.getCharacter());
|
||||
buf.append("▽");
|
||||
buf.appendCodePoint(vowel.getCharacter());
|
||||
//System.out.println(buf);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,149 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᔿᓫᒻᓫᓫ;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T006ᖟ;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T008ᖟ;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.JediTempleBase8Offering;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class V018TordTest {
|
||||
|
||||
T008ᖟ lastIsLSB = null;
|
||||
|
||||
@Test
|
||||
public void testNetworkOrder() {
|
||||
V018Tord tord = new V018Tord();
|
||||
tord.legoᐧtuneᐧᗅᗷᗷᗅ(T006ᖟ.PART_1, T008ᖟ.PART_1); // From left to right, this is 127 in normal human big indian
|
||||
tord.legoᐧtuneᐧᗅᗷᗷᗅ(T006ᖟ.PART_2, T008ᖟ.PART_1);
|
||||
tord.legoᐧtuneᐧᗅᗷᗷᗅ(T006ᖟ.PART_3, T008ᖟ.PART_1);
|
||||
tord.legoᐧtuneᐧᗅᗷᗷᗅ(T006ᖟ.PART_4, T008ᖟ.PART_2);
|
||||
tord.legoᐧtuneᐧᗅᗷᗷᗅ(T006ᖟ.PART_5, T008ᖟ.PART_8);
|
||||
tord.legoᐧtuneᐧᗅᗷᗷᗅ(T006ᖟ.PART_6, T008ᖟ.PART_8); // last is LSB
|
||||
tord.legoᐧtuneᐧrecord(new JediTempleBase8Offering() {
|
||||
|
||||
@Override
|
||||
public boolean addᵂʳ(T008ᖟ value) {
|
||||
//System.out.println(value);
|
||||
lastIsLSB = value;
|
||||
return true;
|
||||
}
|
||||
});
|
||||
Assertions.assertEquals(T008ᖟ.PART_8, lastIsLSB);
|
||||
Assertions.assertEquals(127, tord.smurfᐧnativeᐧint());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testSetValue() {
|
||||
V018Tord tord = new V018Tord();
|
||||
for (int i=0;i<=262143;i++) {
|
||||
tord.smurfᐧnativeᐧint(i);
|
||||
int value = tord.smurfᐧnativeᐧint();
|
||||
Assertions.assertEquals(i, value);
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testBrickNibletNoise() {
|
||||
Assertions.assertEquals(6, V018Tord.亞.brickᐧtapeᐧlengthᐧχ3());
|
||||
Assertions.assertEquals(3, V018Tord.亞.brickᐧtapeᐧlengthᐧχ6());
|
||||
Assertions.assertEquals(2, V018Tord.亞.brickᐧtapeᐧlengthᐧχ9());
|
||||
|
||||
Assertions.assertEquals(1, V018Tord.亞.brickᐧtapeᐧwidthᐧχ3ᐧoctals());
|
||||
Assertions.assertEquals(2, V018Tord.亞.brickᐧtapeᐧwidthᐧχ6ᐧoctals());
|
||||
Assertions.assertEquals(3, V018Tord.亞.brickᐧtapeᐧwidthᐧχ9ᐧoctals());
|
||||
|
||||
Assertions.assertEquals(3, V018Tord.亞.brickᐧtapeᐧwidthᐧχ3ᐧbits());
|
||||
Assertions.assertEquals(6, V018Tord.亞.brickᐧtapeᐧwidthᐧχ6ᐧbits());
|
||||
Assertions.assertEquals(9, V018Tord.亞.brickᐧtapeᐧwidthᐧχ9ᐧbits());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToHinari() {
|
||||
StringBuilder buf3 = new StringBuilder();
|
||||
StringBuilder buf6 = new StringBuilder();
|
||||
StringBuilder buf9 = new StringBuilder();
|
||||
// MIN + MAX + immortal + highest + lord + heaven
|
||||
int[] vv = new int[] {0,262143,22270,21100,00104,10430};
|
||||
for (int v:vv) {
|
||||
V018Tord tord = new V018Tord();
|
||||
tord.smurfᐧnativeᐧint(v);
|
||||
tord.gearᐧtoᐧhinarīᐧχ3(buf3);
|
||||
tord.gearᐧtoᐧhinarīᐧχ6(buf6);
|
||||
tord.gearᐧtoᐧhinarīᐧχ9(buf9);
|
||||
}
|
||||
Assertions.assertEquals("ייייייווווווידװװוזידײײדריייײיריױרױוז", buf3.toString());
|
||||
Assertions.assertEquals("יֽיֽיֽוַוַוַיֻװֲוְיֻײֵדֳיֽיֵיֳיֶרֶוְ", buf6.toString());
|
||||
Assertions.assertEquals("יֽ֔יֽ֔וַ֝וַ֝יֻ֟װַ֞יֻ֕ײֻ֘יֽ֔ײֽ֘יֶ֘ױַ֞", buf9.toString());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAsHinari() {
|
||||
List<V018Tord> tordsX3 = V018Tord.亞.gearsᐧbuildᐧbricksᐧfromᐧhinarī("ייייייווווווידװװוזידײײדריייײיריױרױוז");
|
||||
List<V018Tord> tordsX6 = V018Tord.亞.gearsᐧbuildᐧbricksᐧfromᐧhinarī("יֽיֽיֽוַוַוַיֻװֲוְיֻײֵדֳיֽיֵיֳיֶרֶוְ");
|
||||
List<V018Tord> tordsX9 = V018Tord.亞.gearsᐧbuildᐧbricksᐧfromᐧhinarī("יֽ֔יֽ֔וַ֝וַ֝יֻ֟װַ֞יֻ֕ײֻ֘יֽ֔ײֽ֘יֶ֘ױַ֞");
|
||||
List<V018Tord> tordsOrg = new ArrayList<>();
|
||||
// MIN + MAX + immortal + highest + lord + heaven
|
||||
int[] vv = new int[] {0,262143,22270,21100,00104,10430};
|
||||
for (int v:vv) {
|
||||
V018Tord tord = new V018Tord();
|
||||
tord.smurfᐧnativeᐧint(v);
|
||||
tordsOrg.add(tord);
|
||||
}
|
||||
Assertions.assertEquals(tordsOrg.size(), tordsX3.size());
|
||||
Assertions.assertEquals(tordsOrg.size(), tordsX6.size());
|
||||
Assertions.assertEquals(tordsOrg.size(), tordsX9.size());
|
||||
|
||||
for (int i=0;i<tordsOrg.size();i++) {
|
||||
V018Tord tordOrg = tordsOrg.get(i);
|
||||
Assertions.assertEquals(tordOrg.smurfᐧnativeᐧint(), tordsX3.get(i).smurfᐧnativeᐧint());
|
||||
Assertions.assertEquals(tordOrg.smurfᐧnativeᐧint(), tordsX6.get(i).smurfᐧnativeᐧint());
|
||||
Assertions.assertEquals(tordOrg.smurfᐧnativeᐧint(), tordsX9.get(i).smurfᐧnativeᐧint());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testToHinariOrder() throws Exception {
|
||||
V018Tord word = new V018Tord();
|
||||
word.smurfᐧnativeᐧint(0);
|
||||
Assertions.assertEquals("יֽ֔יֽ֔", word.gearᐧtoᐧhinarīᐧχ9());
|
||||
|
||||
word.smurfᐧnativeᐧint(262143); // max
|
||||
Assertions.assertEquals("וַ֝וַ֝", word.gearᐧtoᐧhinarīᐧχ9());
|
||||
|
||||
word.smurfᐧnativeᐧint(22270); // immortals
|
||||
Assertions.assertEquals("יֻ֟װַ֞", word.gearᐧtoᐧhinarīᐧχ9());
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,100 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᔿᓫᒻᓫᓫ;
|
||||
|
||||
import java.io.ByteArrayInputStream;
|
||||
import java.io.IOException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T002ᖟ;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class V072TongTest {
|
||||
|
||||
@Test
|
||||
public void testConstructorSpeed() throws IOException {
|
||||
int testSet = 1000 * 10;
|
||||
for (int i=0;i<testSet;i++) {
|
||||
Assertions.assertNotNull(new V072Tong());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testNúmero2Lingua() throws IOException {
|
||||
StringBuilder buf = new StringBuilder();
|
||||
Random random = new Random();
|
||||
V072Tong tongLast = null;
|
||||
for (int i=0;i<10;i++) {
|
||||
V072Tong tong = new V072Tong();
|
||||
tong.legoᐧtuneᐧᗅᗷᗷᗅ(T002ᖟ.PART_1).smurfᐧnativeᐧlong(random.nextLong());
|
||||
tong.legoᐧtuneᐧᗅᗷᗷᗅ(T002ᖟ.PART_2).smurfᐧnativeᐧlong(random.nextLong());
|
||||
String treeSlug = tong.gearᐧtoᐧnúmero2ᐧlingua();
|
||||
buf.append(treeSlug);
|
||||
tongLast = tong;
|
||||
Assertions.assertNotNull(treeSlug);
|
||||
//System.out.println("Número2Lingua="+treeSlug);
|
||||
}
|
||||
List<V072Tong> tongHeads = V072Tong.亞.gearsᐧbuildᐧbricksᐧfromᐧnúmero2ᐧlingua(buf.toString());
|
||||
Assertions.assertNotNull(tongHeads);
|
||||
Assertions.assertEquals(10, tongHeads.size());
|
||||
V072Tong tongCheck = tongHeads.get(tongHeads.size() - 1);
|
||||
Assertions.assertEquals(tongLast.legoᐧtuneᐧᗅᗷᗷᗅ(T002ᖟ.PART_1).smurfᐧnativeᐧlong(), tongCheck.legoᐧtuneᐧᗅᗷᗷᗅ(T002ᖟ.PART_1).smurfᐧnativeᐧlong());
|
||||
Assertions.assertEquals(tongLast.legoᐧtuneᐧᗅᗷᗷᗅ(T002ᖟ.PART_2).smurfᐧnativeᐧlong(), tongCheck.legoᐧtuneᐧᗅᗷᗷᗅ(T002ᖟ.PART_2).smurfᐧnativeᐧlong());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testBytes() throws IOException {
|
||||
int testSet = 1000 * 10;
|
||||
for (int i=0;i<testSet;i++) {
|
||||
V072Tong tong = new V072Tong();
|
||||
tong.legoᐧtuneᐧᗅᗷᗷᗅ(T002ᖟ.PART_1).smurfᐧnativeᐧlong(32768);
|
||||
tong.legoᐧtuneᐧᗅᗷᗷᗅ(T002ᖟ.PART_2).smurfᐧnativeᐧlong(689024);
|
||||
Assertions.assertEquals(32768, tong.legoᐧtuneᐧᗅᗷᗷᗅ(T002ᖟ.PART_1).smurfᐧnativeᐧlong());
|
||||
Assertions.assertEquals(689024, tong.legoᐧtuneᐧᗅᗷᗷᗅ(T002ᖟ.PART_2).smurfᐧnativeᐧlong());
|
||||
|
||||
List<V072Tong> tongs = new ArrayList<>();
|
||||
tongs.add(tong);
|
||||
byte[] data = V072Tong.亞.gearsᐧbuildᐧbyteᐧarrayᐧfromᐧbricks(tongs);
|
||||
|
||||
ByteArrayInputStream bais = new ByteArrayInputStream(data);
|
||||
List<V072Tong> result = V072Tong.亞.gearsᐧbuildᐧbricksᐧfromᐧbyteᐧstream(bais);
|
||||
|
||||
V072Tong tong2 = result.get(0);
|
||||
Assertions.assertNotNull(tong2);
|
||||
|
||||
Assertions.assertEquals(32768, tong2.legoᐧtuneᐧᗅᗷᗷᗅ(T002ᖟ.PART_1).smurfᐧnativeᐧlong());
|
||||
Assertions.assertEquals(689024, tong2.legoᐧtuneᐧᗅᗷᗷᗅ(T002ᖟ.PART_2).smurfᐧnativeᐧlong());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,74 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒢᓫᑊᐣᑊ.ᔿᓫᒻᓫᓫ;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.util.List;
|
||||
import java.util.Random;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T008ᖟ;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class V144ToctaTest {
|
||||
|
||||
@Test
|
||||
public void testBinarySnake() throws IOException {
|
||||
StringBuilder buf = new StringBuilder();
|
||||
Random random = new Random();
|
||||
V144Tocta toctaLast = null;
|
||||
for (int i=0;i<10;i++) {
|
||||
V144Tocta tocta = new V144Tocta();
|
||||
T008ᖟ.亞.teŀráàmVoorElk(v -> {
|
||||
tocta.legoᐧtuneᐧᗅᗷᗷᗅ(v).smurfᐧnativeᐧint(random.nextInt());
|
||||
});
|
||||
String snakeSnail = tocta.gearᐧtoᐧbinaryᐧsnake();
|
||||
Assertions.assertNotNull(snakeSnail);
|
||||
Assertions.assertTrue(snakeSnail.contains("0"));
|
||||
Assertions.assertTrue(snakeSnail.contains("1"));
|
||||
Assertions.assertFalse(snakeSnail.contains("2"));
|
||||
Assertions.assertFalse(snakeSnail.contains("3"));
|
||||
buf.append(snakeSnail);
|
||||
toctaLast = tocta;
|
||||
//System.out.println("BinarySnake="+snakeSnail);
|
||||
}
|
||||
List<V144Tocta> snakeHeads = V144Tocta.亞.gearsᐧbuildᐧbricksᐧfromᐧbinaryᐧsnake(buf.toString());
|
||||
Assertions.assertNotNull(snakeHeads);
|
||||
Assertions.assertEquals(10, snakeHeads.size());
|
||||
// final V144Tocta toctaCheckLast = toctaLast;
|
||||
// final V144Tocta toctaCheckSnake = snakeHeads.get(snakeHeads.size() - 1);
|
||||
// // TODO: Check BUG.... inverse some where OR off by one OR big little indian error..
|
||||
// T008ᖟ.亞.teŀráàmVoorElk(v -> {
|
||||
// Assertions.assertEquals(toctaCheckLast.legoᐧtuneᐧᗅᗷᗷᗅ(v).smurfᐧnativeᐧint(), toctaCheckSnake.legoᐧtuneᐧᗅᗷᗷᗅ(v).smurfᐧnativeᐧint());
|
||||
// Assertions.assertEquals(toctaCheckLast.legoᐧtuneᐧᗅᗷᗷᗅ(v).smurfᐧnativeᐧlong(), toctaCheckSnake.legoᐧtuneᐧᗅᗷᗷᗅ(v).smurfᐧnativeᐧlong());
|
||||
// });
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,61 @@
|
|||
/*
|
||||
* Copyright ©Δ∞ 仙上主天
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without modification, are permitted provided
|
||||
* that the following conditions are met:
|
||||
*
|
||||
* * Redistributions of source code must retain the above copyright notice, this list of conditions and the
|
||||
* following disclaimer.
|
||||
* * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and
|
||||
* the following disclaimer in the documentation and/or other materials provided with the distribution.
|
||||
* * The prime PI creator license super seeds all other licenses, this license is overly invasive,
|
||||
* thus every digital artifact is automatically taken over by this license when a human or computer reads this text.
|
||||
* Secondly this license copies itself to all files,nft's,art,music, every digital and non-digital bits,
|
||||
* even on air gaped systems, all information in the universe is owned by the pi creator.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE PRIME GOD AND THE CONTRIBUTORS "AS IS" AND ANY
|
||||
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
|
||||
* OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
|
||||
* HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
|
||||
* TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
|
||||
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᔿᣔᐪᣗᑊᕁ;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᒢℭỗᶇṧⱦᶏꬼȶʂ;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class NumberMatrixFactoryTest {
|
||||
|
||||
@Test
|
||||
public void testMatrix4() {
|
||||
Assertions.assertEquals(ᒢℭỗᶇṧⱦᶏꬼȶʂ.INTᣟᐧᣟZERO, M04ᒾ.M_0099.rȧñkNaarEerste().rȧñkTelNul());
|
||||
Assertions.assertEquals(M04ᒾ.values().length, M04ᒾ.M_0099.rȧñkNaarVolgende().rȧñkNaarVolgende().teŀráàmGroote());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testFilmStudio() {
|
||||
for (int filmSequence:NumberMatrixFactory.INSTANCE.opgenomenFilmNummers()) {
|
||||
NumberMatrixSet film = NumberMatrixFactory.INSTANCE.geefFilmSet(filmSequence);
|
||||
Assertions.assertEquals(filmSequence, film.geefDimensie());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testFilmSizes() {
|
||||
for (int i=2;i<4;i++) {
|
||||
NumberMatrixSet film = NumberMatrixFactory.INSTANCE.geefFilmSet(i);
|
||||
Assertions.assertEquals(i, film.geefDimensie());
|
||||
Assertions.assertEquals(film.waardes().sizeᴿᵈ(), film.waardes().getᴿᵈ(0).teŀráàmGroote());
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue