Easter cleaning
This commit is contained in:
commit
9e36078b2e
1862 changed files with 270281 additions and 0 deletions
223
nx01-jpp-base/src/test/java/ᒢᐩᐩ/ᒃᣔᔆᔆᒃᐤᐤᣕ/BabelTest.java
Normal file
223
nx01-jpp-base/src/test/java/ᒢᐩᐩ/ᒃᣔᔆᔆᒃᐤᐤᣕ/BabelTest.java
Normal file
|
|
@ -0,0 +1,223 @@
|
|||
/*
|
||||
* 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.PrintStream;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.StringUnicode;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᐧᣞᣛ.डोरीᣟर्माता;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᔿᓫᐪᑋᐤᒄᐤᓑᔿᔆ.ᐧᣞᣛ.उपभोक्ता;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᔿᓫᐪᑋᐤᒄᐤᓑᔿᔆ.ᐧᣞᣛ.𓀁𓏁;
|
||||
import ᒢᐩᐩ.ᒼᐤᒻᒻᓫᒼᐪᑊᐤᣕᔆ.Iteratorᴿᵈ;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class BabelTest {
|
||||
// ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.xxx
|
||||
interface Bᐜᐝᐞᐟᐠᐡᐢᐣᐤᐥᐦᐧᐨᐩᐪᑉᑊᑋᒃᒄᒡᒢᒻᒼᒽᒾᓐᓑᓒᓪᓫᔅᔆᔇᔈᔉᔊᔋᔥᔾᔿᕀᕁᕐᕑᕝᕪᕻᕯᕽᖅᖕᖖᖟᖦᖮᗮᘁᙆᙇᙾᙿᣔᣕᣖᣗᣘᣙᣚᣛᣜᣝᣞᣟᣳᣴᣵ {
|
||||
}
|
||||
enum Translatec̈ {
|
||||
//XXX ("", "", "", ""),
|
||||
CODE_LANG ("漢語", "ᐃᓄᒃᑎᑐᑦC", "𓃬𓍄𓋹𓀭", "हिन्दी"),
|
||||
CODE_PLURAL ("多", "ᣛ", "𓄠", "विभिन्न"), // S-postfix
|
||||
//CODE_SEP ("龸", "ᐨ", "𓐗", "ꣻ"), replaced with eskimo dots;
|
||||
// Methods/etc use eskimo middle dot seperator: "ᐧ"
|
||||
// File/classes use eskimo super dot seperator: "ᣟ"
|
||||
|
||||
GENERICS_T ("仿製藥", "ᐪ", "𓉢", "जेनरिक"),
|
||||
GENERICS_U ("青蛙藥", "ᓑ", "𓉣", "जम्पफ्रॉग"),
|
||||
GENERICS_V ("蛋從", "ᘁ", "𓉡", "अंडाफ"),
|
||||
ARG_THING ("物", "ᑭᓱ", "𓐠", "चीज़"),
|
||||
ARG_OTHER ("其他", "ᐊᓯᖏᑦ", "𓐐", "अन्य"),
|
||||
|
||||
ACTION ("行動", "ᐱᓕᕆᐊᖅ", "𓀢", "गतिविधि"),
|
||||
ACCEPT ("接受", "ᐊᖏᖅᑐᖅ", "𓁉", "मानना"),
|
||||
AND ("和", "ᐊᒻᒪᓗ", "𓍰", "और"),
|
||||
THAN ("接著", "ᐅᖓᑖᓄᑦ", "𓂐", "फिर"),
|
||||
AFTER ("後", "ᑭᖑᓂᖓᓂ", "𓅀", "पीछे "),
|
||||
BEFORE ("字首", "ᓯᕗᓂᐊᓂ", "𓅽", "हैडर"),
|
||||
OF ("從", "ᐅᕙᙵᑦ", "𓏞𓊖", "द्वारा"), // of = from
|
||||
TO ("至", "ᐱᑐ", "𓀨", "प्रति"),
|
||||
AT ("存在", "ᐅᕙᓂ", "𓃣", "मौजूद"),
|
||||
BY ("經過", "ᐆᒧᖓ", "𓏞𓆦", "द्वारा"),
|
||||
RUN ("賽跑者", "ᐅᓪᓚᒃᑐᖅ", "𓀟", "दौड़ना"),
|
||||
GET ("得到", "ᐱᓗᑎᑦ", "𓀦", "प्राप्त"),
|
||||
SET ("套", "ᐋᖅᑭᑦᓯᒪᓂᖓ", "𓁟", "सेट"),
|
||||
PUT ("放", "ᐃᓕᓗᒍ", "𓀄𓂑𓄾", "रखना"),
|
||||
HAS ("有", "ᐱᓯᒪᔪᖅ", "𓎞", "है"),
|
||||
FOR ("為了", "ᐅᑯᓄᖓ", "𓊖", "वास्ते"),
|
||||
WITH ("的", "ᐱᖃᑎᖃᕐᓗᓂ", "𓐦", "का"),
|
||||
EACH ("每個", "ᐊᑐᓂ", "𓎛", "प्रत्येक"),
|
||||
NEXT ("旁邊", "ᑭᖑᓪᓕᖅ", "𓄱𓇎", "अगला"),
|
||||
READ ("輸入", "ᐅᖃᓕᒫᕐᓂᖅ", "𓐨", "पढ़ना"),
|
||||
WRITE ("輸出", "ᑎᑎᕋᕐᓗᑎᑦ", "𓐧", "लिखना"),
|
||||
REMOVE ("消除", "ᐲᕐᓗᒍ", "𓌩", "हटाना"),
|
||||
COMPARE ("相比", "ᒥᒃᓴᐅᑦᑎᓂᖅ", "𓍝", "तुलना"),
|
||||
COMPOSE ("構成前", "ᕐᑳᖓ", "𓆥", "पहलाकर्ता"),
|
||||
IDENTITY ("身份", "ᑭᓇᐅᓂᖓ", "𓀀", "पहचान"),
|
||||
APPEND ("附加", "ᐅᐃᒍᐊᕈᑕᖅ", "𓆒𓀜", "जोड़ना"),
|
||||
CODE ("代碼", "ᓇᓗᓇᐃᒃᑯᑕᖅ", "𓊏", "कोड"),
|
||||
POINT ("觀點", "ᓄᕗᐊ", "𓀄", "बिंदु"),
|
||||
CAPACITY ("容量", "ᐃᓂᒋᔭᐅᔪᓇᕐᓂᖓ", "𓆣𓆥", "क्षमता"),
|
||||
CHAR ("信", "ᐃᖃᓗᒃ", "𓂁𓂃𓂄", "पत्र"),
|
||||
COUNT ("數數", "ᑲᑎᓪᓗᒋᑦ", "𓍮𓁤", "गणना"),
|
||||
REMAINING ("殘餘", "ᐊᒥᐊᒃᑯᐊ", "𓆶𓇊𓇻", "बचाहुआ"),
|
||||
GAUSSIAN ("高斯", "ᒑᓯᐊᓐ", "𓃸𓃇𓃅", "गाऊसी"),
|
||||
SEED ("種子", "ᐱᕈᖅᓯᐊᒃᓴᖅ", "𓂺", "बीज"),
|
||||
SERVICE ("服務", "ᐱᔨᑦᑎᕐᓂᖅ", "𓅻", "सर्विस"), // serve-fish for dinner :)
|
||||
LOADER ("裝載機", "ᐳᐊᕐᕆᓯᓕᕈᑎ", "𓆋𓆉𓄾", "लोडर"),
|
||||
UNHOLY ("邪惡的", "ᐱᓗᐊᙱᑦᑐᖅ", "𓀢𓍝𓃇", "अपवित्र"),
|
||||
SPELL ("魅力", "ᑎᕝᕗᐊᖅᑐᖅ", "𓁤𓎞𓀢𓀦", "बोलना"),
|
||||
SOUND ("聲音", "ᓂᐱ", "𓅓𓎛𓇋", "आवाज़"),
|
||||
OBJECT ("目的", "ᐱᔾᔪᑖ", "𓂁𓋹𓂄", "वस्तु"),
|
||||
NAME ("姓名", "ᐊᑎᖓ", "𓀢𓇋", "नाम"),
|
||||
CANONICAL ("典範", "ᖃᑦᑖᕐᔪᓛᒃᑯᑦ", "𓁅𓅽𓇋𓃇", "विहित"),
|
||||
DOMAIN ("領域", "ᑑᕐᖓᐃᑦ", "𓅓𓆭𓉭𓍟", "कार्यक्षेत्र"),
|
||||
ATTRIBUTE ("屬性", "ᓇᓗᓇᙱᔾᔪᑎᖏᑦ", "𓂐𓀢𓇋𓃟𓌭", "विशेषता"),
|
||||
FIRE ("火", "ᐃᑭᑦᑐᖅ", "𓆅𓎞𓏁", "आग"),
|
||||
BEAN ("豆", "ᓂᓕᕐᓇᖅ", "𓅸𓁉", "सेम"),
|
||||
BASS ("低音", "ᐅᖂᑕᖅ", "𓇋𓀤𓏲", "बास"),
|
||||
BONE ("骨", "ᓴᐅᓂᖅ", "ᣟ𓀜𓅅", "हड्डी"),
|
||||
COFFIN ("棺材", "ᑳᐱᑐᕐᕕᒃ", "𓀠𓁀", "ताबूत"),
|
||||
SUPPORT ("支援", "ᐃᑲᔪᖅᑐᐃᓐᓂᖅ", "𓃦𓀜𓇌𓀁", "सहायता"),
|
||||
GHOST ("鬼", "ᑑᕐᖓᖅ", "𓁶𓇶𓀿𓌏", "भूत"), // 鬼 = Guǐ
|
||||
MAP ("地圖", "ᓄᓇᙳᐊᖅ", "𓉳", "नक्शा"),
|
||||
LIST ("清單", "ᑎᑎᕋᖅᓯᒪᔪᑦ", "𓍮", "सूची"),
|
||||
VALUE ("價值", "ᐊᑭᓪᓗᐊᖓ", "𓉸", "कीमत"),
|
||||
LOCK ("鎖", "ᑮᒍᑎᓯᒪᓂᖅ", "𓂡𓏟", "ताला"),
|
||||
RELOAD ("重新載入", "ᓂᐅᕋᐃᓂᖅ", "𓍯𓃁𓆏", "पुनःꣻलोडꣻकरें"),
|
||||
ITERATOR ("迭代器", "ᐅᓚᕕᑕᐅᑎ", "𓎘𓍍𓋔𓅢", "इटरेटर"),
|
||||
LOAD ("載入", "ᐅᓯᓕᖅᓱᖅᑕᖅ", "𓃁𓆏", "भार"),
|
||||
INSTALLED ("已安裝", "ᐃᓕᐅᖅᑲᖅᑕᐅᓂᖓ", "𓊻𓀽", "इंस्टॉलꣻकिया"),
|
||||
CABLE ("電纜", "ᓴᕕᒐᐅᔭᖅ", "𓍇𓌕𓁗", "केबल"),
|
||||
INSTANCE ("實例", "ᓲᕐᓗ", "𓉟𓅑𓇑𓁪", "उदाहरण"),
|
||||
NEW ("新的", "ᓄᑖᖅ", "𓂂𓂐𓂅𓌅", "नया"),
|
||||
CAST ("投擲", "ᑳᔅᑦ", "𓁶𓌖𓍉𓌟", "ढालना"),
|
||||
|
||||
SPIDER ("蜘蛛", "ᒥᑏᑦ", "𓂏𓂴𓄙", "मकड़ी"),
|
||||
EGG ("蛋", "ᒪᓐᓂᒃ", "𓅸𓆇", "अंडा"),
|
||||
WIRE ("金屬絲", "ᐅᐊᔭ", "𓄗𓄘", "तार"),
|
||||
DRAGON ("龍", "ᕙᔅᓂᑲᒃ", "𓄂𓅮𓆑", "अजगर"),
|
||||
FLY ("飛", "ᖃᖓᑕᔪᖅ", "𓆤", "उड़ना"),
|
||||
OPTIONAL ("選修的", "ᐃᓱᒪᖅᓲᑕᐅᔪᖅ", "𓆱𓇋𓎳𓏢", "वैकल्पिक"),
|
||||
PAINT ("畫", "ᐊᒥᐊᖅ", "𓍠𓀥𓆶𓅿", "रँगना"),
|
||||
EYE ("眼睛", "ᐃᔨ", "𓏗𓁹", "आँख"),
|
||||
BLOOD ("血", "ᐊᐅᒃ", "𓌩𓄁𓂖𓀨", "खून"),
|
||||
DESCRIPTION ("描述", "ᑭᓱᒨᒻᒪᖔᑦ", "𓁰𓅰𓅒𓊣𓋧", "विवरण"),
|
||||
AMMO ("彈藥", "ᓱᓇᒃᑲᑦ", "𓇭", "गोला बारूद"),
|
||||
BOX ("盒子", "ᑎᑎᖅᑲᒃᑯᕕᐊ", "𓄬𓉯", "डिब्बा"),
|
||||
DOOR ("門", "ᐹ", "𓉞", "दरवाजा"),
|
||||
BULLET ("子彈", "ᑕᖅᓴᖅ", "𓐬𓆃", "गोली"),
|
||||
|
||||
CLASS ("骨型", "ᐃᓕᓐᓂᐊᖃᑎᒌᑦ", "𓆆𓄯", "बोनटाइप"), // type-bone
|
||||
BOOLEAN ("布爾值", "ᕘᓚᐃᓐ", "𓆫", "बूलियन"),
|
||||
INTEGER ("整數", "ᐊᐅᓚᑦᑎᔨ", "𓆬", "पूर्णांक"),
|
||||
LONG ("長", "ᑕᑭᔪᖅ", "𓆭", "लंबा"),
|
||||
FLOAT ("漂浮", "ᐳᒃᑕᓛᕐᓂᖅ", "𓆮", "नाव"),
|
||||
DOUBLE ("倍漂浮", "ᒪᕐᕈᐃᖅᑕᕐᓗᒍ", "𓆯", "दोहरानाव"),
|
||||
SHORT ("不夠", "ᓇᐃᑦᑐᖅ", "𓆨", "छोटा"),
|
||||
STRING ("細繩", "ᐊᒥᕕᖅ", "𓊐", "डोरी"),
|
||||
CHARACTER ("特點", "ᖃᓄᐃᑦᑑᓂᖓ", "𓆧", "चरित्र"),
|
||||
UNICODE ("統一碼", "ᑕᖅᓴᓕᒃ ", "𓊍𓊏", "यूनिकोड"),
|
||||
|
||||
CONSUMER ("消費者", "ᓂᐅᕕᖅᑐᖅ", "𓀁𓏁", "उपभोक्ता"),
|
||||
BICONSUMER ("雙消費者", "ᐱᓲᑎᑦ", "𓇌𓀁", "दोहराᐧउपभोक्ता"),
|
||||
RUNNABLE ("可運行", "ᐃᖏᕐᕋᔪᖅ", "𓌭𓀟", "जंगम"),
|
||||
SUPPLIER ("供應商", "ᓂᐅᕕᕐᕕᐅᕙᒃᑐᑦ", "𓊷𓉭𓆅", "प्रदायक"),
|
||||
COMPARABLE ("可比", "ᐊᔾᔨᐸᓗᖏᑦ", "𓌭𓍝", "तुलनीय"),
|
||||
FUNCTION ("功能", "ᐊᐅᓚᓂᖅ", "𓄊𓎓𓄟", "काम"),
|
||||
COMPARATOR ("平衡器", "ᒥᒃᓴᐅᑦᑎᔾᔪᑎ", "𓄤𓊯𓀐", "संतुलक"),
|
||||
RANDOM ("隨機的", "ᓇᑭᑐᐃᓐᓇᖅ", "𓂊𓆎", "यादृच्छिक"),
|
||||
SECURE ("安全的", "ᐱᔭᐅᔾᔭᐃᖅᓯᒪᓂᖅ", "𓄝𓄌𓄫", "सुरक्षित"),
|
||||
GENERATED ("生成", "ᐊᐅᓚᔾᔭᒋᐊᖅᓯᒪᔪᖅ", "𓃦𓃈𓌰𓍟", "उत्पन्न"),
|
||||
|
||||
SOUP ("湯", "ᖃᔪᒃᓴᖅ", "𓆂𓋗𓁅", "शोरबा"),
|
||||
SPOON ("勺子", "ᐊᓘᑦ", "𓋐𓅸𓁃", "चम्मच"),
|
||||
VEGETABLE ("蔬菜", "ᐱᕈᖅᑐᑦᓰᕐᓇᙱᑦᑐᑦ", "𓋲𓀁", "सबजी"),
|
||||
BUGS ("動物", "ᖁᐱᕐᕈᐃᑦ", "𓆈𓀎", "जानवर"),
|
||||
SALT ("鹽", "ᑕᕆᐅᖅ", "𓄚𓄈", "नमक"),
|
||||
PEPPER ("胡椒", "ᐸᐸ", "𓄅", "मिर्च"), // == exceptions
|
||||
MEAT ("肉", "ᓂᖀᑦ", "𓃟", "मांसच"),
|
||||
;
|
||||
|
||||
private String ₜₓₜ普通話; // normale
|
||||
private String ₜₓₜᐃᓄᒃᑎᑐᑦC;
|
||||
private String ₜₓₜ𓂀;//normal font
|
||||
private String ₜₓₜहिन्दी; // auto micro font thus must be be last...
|
||||
|
||||
private Translatec̈(String 普通話ᐥˢʰᵉⁿᵉᵉˢ, String ᐃᓄᒃᑎᑐᑦC, String 𓂀ᐥʰᶦᵉʳᵒ, String हिन्दीᐥʰᶦⁿᵈᶦ) {
|
||||
this.ₜₓₜ普通話 = 普通話ᐥˢʰᵉⁿᵉᵉˢ;
|
||||
this.ₜₓₜᐃᓄᒃᑎᑐᑦC = ᐃᓄᒃᑎᑐᑦC;
|
||||
this.ₜₓₜ𓂀 = 𓂀ᐥʰᶦᵉʳᵒ;
|
||||
this.ₜₓₜहिन्दी = हिन्दीᐥʰᶦⁿᵈᶦ;
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testObjectToHuman() {
|
||||
Assertions.assertTrue(Translatec̈.values()[0] != null);
|
||||
for (Translatec̈ t :Translatec̈.values()) {
|
||||
Assertions.assertNotNull(t.ₜₓₜ普通話);
|
||||
Assertions.assertNotNull(t.ₜₓₜᐃᓄᒃᑎᑐᑦC);
|
||||
Assertions.assertNotNull(t.ₜₓₜ𓂀);
|
||||
Assertions.assertNotNull(t.ₜₓₜहिन्दी);
|
||||
}
|
||||
final PrintStream 𓉞 = System.out;
|
||||
𓀁𓏁<String> 𓃦𓃈𓌰𓍟 = new 𓀁𓏁<>() {
|
||||
@Override
|
||||
public void 𓁉(String 𓐠) {
|
||||
𓉞.println("test=" + 𓐠);
|
||||
}
|
||||
};
|
||||
|
||||
𓀁𓏁<String> 𓀁𓏁 = 𓃦𓃈𓌰𓍟.𓍰𓐗𓂐(𓐠 -> {
|
||||
𓉞.println("test2=" + 𓐠);
|
||||
});
|
||||
|
||||
𓀁𓏁.𓁉("aaa");
|
||||
/*
|
||||
StringUnicode str = new StringUnicode("sDfgdklsfjglksdjfgljsdklfjgklds");
|
||||
Iteratorᴿᵈ<Integer> ii = Iteratorᴿᵈ.wrapᴼᶠ(str.codePoints().iterator());
|
||||
Iteratorᴿᵈ.ßabelहिंदी<Integer> गला = ii.toBabelHindiᴿᵈ();
|
||||
|
||||
डोरीᣟर्माता ग = डोरीᣟर्माता.亞.उदाहरणᐧनया();
|
||||
while (गला.हैꣻअगलाꣻपढ़ना()) {
|
||||
गला.वास्तेꣻप्रत्येकꣻबचाहुआꣻपढ़ना(new उपभोक्ता<Integer>() {
|
||||
@Override
|
||||
public void मानना(Integer चीज़) {
|
||||
ग.जोड़नाᐧकोडᐧबिंदु(चीज़);
|
||||
}
|
||||
});
|
||||
}
|
||||
𓉞.println(ग);
|
||||
*/
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,51 @@
|
|||
/*
|
||||
* 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 ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒃᐤᣔᐪ.BãßBȍőnBőatWind;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒃᐤᣔᐪ.BãßBȍőnBőatWindKnots;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class BãßBoatWindTest {
|
||||
// SolarWinds=14 StormTroopers=650 WindStorm=PIRATE_HARLOCK_SNEEZE
|
||||
// SolarWinds=33 StormTroopers=977 WindStorm=SAILOR_MOON_SKIRT_DUSTER
|
||||
// SolarWinds=43 StormTroopers=3363 WindStorm=BATTLESHIP_YAMATO_WAVE_MOTION
|
||||
|
||||
@Test
|
||||
public void testBreeze() {
|
||||
BãßBȍőnBőatWindKnots harbor = Bãß.أَكْبَرײꣻײالله.harborᴮʳᵉᵉᶻᵉ(BãßBȍőnBőatWind.PIRATE_HARLOCK_SNEEZE);
|
||||
Assertions.assertNotNull(harbor.getWindStorm());
|
||||
Assertions.assertTrue(harbor.getStormTroopers() > 0);
|
||||
Assertions.assertTrue(harbor.getSolarWinds().size() > 0);
|
||||
System.out.println("SolarWinds=" + harbor.getSolarWinds().size() + " StormTroopers=" + harbor.getStormTroopers() + " WindStorm=" + harbor.getWindStorm());
|
||||
}
|
||||
}
|
||||
133
nx01-jpp-base/src/test/java/ᒢᐩᐩ/ᒃᣔᔆᔆᒃᐤᐤᣕ/BãßᛗᚢᛗᛗᛉSpeedTest.java
Normal file
133
nx01-jpp-base/src/test/java/ᒢᐩᐩ/ᒃᣔᔆᔆᒃᐤᐤᣕ/BãßᛗᚢᛗᛗᛉSpeedTest.java
Normal file
|
|
@ -0,0 +1,133 @@
|
|||
/*
|
||||
* 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 ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒄᓫᣔᐪᑋ.BãßBȍőnCoffinԲ;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒄᓫᣔᐪᑋ.ᔆᣖᑊᒄᓫᣗ.BãßBȍőnSpiderTest;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᔿᓑᔿᔿᔋᐝᣚ.BãßᛗᚢᛗᛗᛉBoneBabe𓄯;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᔿᓑᔿᔿᔋᐝᣚ.BãßᛗᚢᛗᛗᛉBoobBabe𓄯ᶠˡʸ;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class BãßᛗᚢᛗᛗᛉSpeedTest {
|
||||
|
||||
static final class ShakeBoneBabe implements BãßᛗᚢᛗᛗᛉBoneBabe𓄯<ShakeBoneBabe> {
|
||||
ShakeBoneBabe() {
|
||||
亞ᶦᶦᶦ.thisʸᴰᐧᐧᶜᵒⁿˢᵗʳᵘᶜᵗᵒʳ(thisᵀᴮᵒⁿᵉ());
|
||||
}
|
||||
}
|
||||
static final class ShakeBoobBabe implements BãßᛗᚢᛗᛗᛉBoobBabe𓄯ᶠˡʸ<ShakeBoobBabe> {
|
||||
ShakeBoobBabe() {
|
||||
亞ᶦᶦᶦ.thisʸᴰᐧᐧᶜᵒⁿˢᵗʳᵘᶜᵗᵒʳ(thisᵀᴮᵒⁿᵉ());
|
||||
}
|
||||
}
|
||||
static final class ShakeBoneBabeGrave implements BãßᛗᚢᛗᛗᛉBoneBabe𓄯<ShakeBoneBabe> {
|
||||
private final BãßBȍőnCoffinԲ ghostsInAShell = 亞ᶦᶦᶦ.thisʸᴰᐧᐧˡᶦᵍʰᵗˢᵃᵇᵉʳ(thisᵀᴮᵒⁿᵉ());
|
||||
ShakeBoneBabeGrave() {
|
||||
亞ᶦᶦᶦ.thisʸᴰᐧᐧᶜᵒⁿˢᵗʳᵘᶜᵗᵒʳ(thisᵀᴮᵒⁿᵉ());
|
||||
}
|
||||
@Override
|
||||
public BãßBȍőnCoffinԲ thisᵀᴮᵒⁿᵉᴳʳᵃᵛᵉ() {
|
||||
return ghostsInAShell;
|
||||
}
|
||||
}
|
||||
static final class ShakeBoobBabeGrave implements BãßᛗᚢᛗᛗᛉBoobBabe𓄯ᶠˡʸ<ShakeBoobBabe> {
|
||||
private final BãßBȍőnCoffinԲ ghostsInAShell = 亞ᶦᶦᶦ.thisʸᴰᐧᐧˡᶦᵍʰᵗˢᵃᵇᵉʳ(thisᵀᴮᵒⁿᵉ());
|
||||
ShakeBoobBabeGrave() {
|
||||
亞ᶦᶦᶦ.thisʸᴰᐧᐧᶜᵒⁿˢᵗʳᵘᶜᵗᵒʳ(thisᵀᴮᵒⁿᵉ());
|
||||
}
|
||||
@Override
|
||||
public BãßBȍőnCoffinԲ thisᵀᴮᵒⁿᵉᴳʳᵃᵛᵉ() {
|
||||
return ghostsInAShell;
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testSimple() {
|
||||
int testCount = 100 * 1000;
|
||||
long boneBabeTime = timedShake(() -> {
|
||||
BãßBȍőn𓄯<?> subject = null;
|
||||
for (int i=testCount;i>0;i--) {
|
||||
subject = new ShakeBoneBabe();
|
||||
subject.thisᴰᴺᴬ();
|
||||
}
|
||||
});
|
||||
long boobBabeTime = timedShake(() -> {
|
||||
BãßBȍőn𓄯<?> subject = null;
|
||||
for (int i=testCount;i>0;i--) {
|
||||
subject = new ShakeBoobBabe();
|
||||
subject.thisᴰᴺᴬ();
|
||||
}
|
||||
});
|
||||
long boneBabeTimeGrave = timedShake(() -> {
|
||||
BãßBȍőn𓄯<?> subject = null;
|
||||
for (int i=testCount;i>0;i--) {
|
||||
subject = new ShakeBoneBabeGrave();
|
||||
subject.thisᴰᴺᴬ();
|
||||
}
|
||||
});
|
||||
long boobBabeTimeGrave = timedShake(() -> {
|
||||
BãßBȍőn𓄯<?> subject = null;
|
||||
for (int i=testCount;i>0;i--) {
|
||||
subject = new ShakeBoobBabeGrave();
|
||||
subject.thisᴰᴺᴬ();
|
||||
}
|
||||
});
|
||||
long spiderWireTime = timedShake(() -> {
|
||||
BãßBȍőn𓄯<?> subject = null;
|
||||
for (int i=testCount;i>0;i--) {
|
||||
subject = new BãßBȍőnSpiderTest();
|
||||
subject.thisᴰᴺᴬ();
|
||||
}
|
||||
});
|
||||
Assertions.assertTrue(boneBabeTime < 10000);
|
||||
Assertions.assertTrue(boobBabeTime < 10000);
|
||||
System.out.println("BãßBȍőnSpiderTest timed " + testCount + " in " + spiderWireTime + "ms OPS: " + ((double)testCount/spiderWireTime)*1000);
|
||||
System.out.println("BãßᛗᚢᛗᛗᛉBoneBabeAutoGrave𓄯 timed " + testCount + " in " + boneBabeTime + "ms OPS: " + ((double)testCount/boneBabeTime)*1000);
|
||||
System.out.println("BãßᛗᚢᛗᛗᛉBoobBabeAutoGrave𓄯 timed " + testCount + " in " + boobBabeTime + "ms OPS: " + ((double)testCount/boobBabeTime)*1000);
|
||||
System.out.println("BãßᛗᚢᛗᛗᛉBoneBabeOpenGrave𓄯 timed " + testCount + " in " + boneBabeTimeGrave + "ms OPS: " + ((double)testCount/boneBabeTimeGrave)*1000);
|
||||
System.out.println("BãßᛗᚢᛗᛗᛉBoobBabeOpenGrave𓄯 timed " + testCount + " in " + boobBabeTimeGrave + "ms OPS: " + ((double)testCount/boobBabeTimeGrave)*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;
|
||||
}
|
||||
}
|
||||
246
nx01-jpp-base/src/test/java/ᒢᐩᐩ/ᒃᣔᔆᔆᒃᐤᐤᣕ/EclipseTest.java
Normal file
246
nx01-jpp-base/src/test/java/ᒢᐩᐩ/ᒃᣔᔆᔆᒃᐤᐤᣕ/EclipseTest.java
Normal file
|
|
@ -0,0 +1,246 @@
|
|||
/*
|
||||
* 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.text.NumberFormat;
|
||||
import java.text.ParseException;
|
||||
import java.util.Locale;
|
||||
import java.util.concurrent.atomic.AtomicInteger;
|
||||
import java.util.function.IntFunction;
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒄᓫᣔᐪᑋ.BãßBȍőnCoffinGhostCharm;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒄᓫᣔᐪᑋ.ᐧᣞᣛ.低音ᣟ骨ᣟ棺材ᣟ鬼;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒄᓫᣔᐪᑋ.ᐧᣞᣛ.低音ᣟ骨ᣟ棺材ᣟ鬼ᣟ魅力ᣟ鎖;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class EclipseTest {
|
||||
|
||||
// =======================================================
|
||||
// Case X: Add @Deprecated on String::codePointAt(int idx)
|
||||
|
||||
@Test
|
||||
public void testStringLoopFailStrange() {
|
||||
String test = "𑀳𑁂𑀮𑀺𑀉𑁄𑀤𑁄𑀭𑁂𑀡 𑀪𑀸𑀕";
|
||||
StringBuilder buf = new StringBuilder();
|
||||
for (int i=0;i<test.codePoints().count();i++) {
|
||||
int v = test.codePointAt(i); // java docs are lying
|
||||
buf.appendCodePoint(v);
|
||||
}
|
||||
Assertions.assertNotEquals(test, buf.toString());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testStringLoopFailJavaDoc() {
|
||||
String test = "𑀳𑁂𑀮𑀺𑀉𑁄𑀤𑁄𑀭𑁂𑀡 𑀪𑀸𑀕";
|
||||
StringBuilder buf = new StringBuilder();
|
||||
for (int i=0;i<test.length();i++) { // java docs are lying
|
||||
int v = test.codePointAt(i);
|
||||
buf.appendCodePoint(v);
|
||||
}
|
||||
Assertions.assertNotEquals(test, buf.toString());
|
||||
}
|
||||
|
||||
// =======================================================
|
||||
// Case X: Add @Deprecated on String::chatAt(int idx)
|
||||
// Case X: Add @Deprecated on Character.class
|
||||
// Case X: Add @Deprecated on NumberFormat object because it
|
||||
// can parse hindi but the formatter can not format hindi...
|
||||
// What kind of idiots are coding the JVM ?
|
||||
// mmmm Integer vs int, Yes java is made by a type goats who
|
||||
// didn't have the eclipse refactoring tools to rename the
|
||||
// java.lang.Integer to java.lang.Int to be correct.
|
||||
|
||||
static String name = "𑀳𑁂𑀮𑀺𑀉𑁄𑀤𑁄𑀭𑁂𑀡 𑀪𑀸𑀕";// note: only use String.codePoints().xyz (all other methods are broken)
|
||||
static int age = 42;
|
||||
static String sal = "४२";
|
||||
static NumberFormat hindiFormat = NumberFormat.getInstance(new Locale("hi"));//format does not work
|
||||
static String hindiNumber = "०१२३४५६७८९";
|
||||
static String brahmiNumber = "𑁦𑁧𑁨𑁩𑁪𑁫𑁬𑁭𑁮𑁯";
|
||||
static IntFunction<CharSequence> hindiPrinterErr = v -> {
|
||||
return Character.toString(hindiNumber.charAt(v-'0')); // if used with real unicode like brahmi this fails.
|
||||
};
|
||||
static IntFunction<CharSequence> brahmiPrinter = v -> {
|
||||
return new StringBuilder().appendCodePoint(brahmiNumber.codePoints().skip(v-'0').findFirst().getAsInt());
|
||||
};
|
||||
|
||||
@Test
|
||||
public void testHindiSalary() throws ParseException {
|
||||
int salary = age * hindiFormat.parse(sal).intValue() * hindiFormat.parse(sal).intValue();
|
||||
String buggySalary = Integer.toString(salary).codePoints().mapToObj(hindiPrinterErr).collect(Collectors.joining());
|
||||
String realSalary = Integer.toString(salary).codePoints().mapToObj(brahmiPrinter).collect(Collectors.joining());
|
||||
Assertions.assertNotNull(buggySalary);
|
||||
Assertions.assertNotNull(realSalary);
|
||||
String str = String.format("Name=%s;Age=%d;Salary=%s;toThePowerOf=%s", name, age, buggySalary, realSalary);
|
||||
System.out.println("Let's talk about Ram:" + str);
|
||||
}
|
||||
|
||||
// ===========================================================
|
||||
// Case X: SAX error on legal unicode attribute name; publicStringObjectFieldUnicodeᒡᒢᑊᒻᒻᓫᔿ="x4o-𑀳𑁂𑀮𑀺𑀉𑁄𑀤𑁄𑀭𑁂𑀡 𑀪𑀸𑀕"
|
||||
//Attribute name "publicStringObjectFieldUnicode" associated with an element type "testBean" must be followed by the ' = ' character.
|
||||
//at org.x4o.xml.io.sax.X4OErrorHandler.fatalError(X4OErrorHandler.java:121)
|
||||
//at java.xml/com.sun.org.apache.xerces.internal.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:181)
|
||||
//at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:400)
|
||||
//at java.xml/com.sun.org.apache.xerces.internal.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:327)
|
||||
//at java.xml/com.sun.org.apache.xerces.internal.impl.XMLScanner.reportFatalError(XMLScanner.java:1465)
|
||||
//at java.xml/com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanAttribute(XMLNSDocumentScannerImpl.java:413)
|
||||
//
|
||||
// The bug is trigger a few line above 413 in;
|
||||
// fEntityScanner.scanQName(fAttributeQName, NameType.ATTRIBUTENAME);
|
||||
//
|
||||
// The source of the bug is in XMLEntityScanner.java:823
|
||||
// char c = fCurrentEntity.ch[fCurrentEntity.position];
|
||||
|
||||
// ===========================================================
|
||||
// Case X: Jvm namespace is unlimited by spec which is bad.
|
||||
// Older specs limited to 16 bit value which java does not have.
|
||||
// What is the eclipse compiler limit ?
|
||||
// And we enlarge it a bit i needed 3 extra glyps to add the
|
||||
// Abba father postfix but the eclipse did not write a class file.
|
||||
|
||||
// Add one char any where to break eclipse compiler
|
||||
enum FooBar {
|
||||
;
|
||||
enum Ιͣ̾ͪ͆̿ͨ͡B̿͆̉̽̎̔ͤͤ̎͗ͫͧͮ̚e̅̂͌̉̎̌ͥ͋͌̑ͥ͋ͬ̅́a͆͗̈ͥͥ̊͋̅̆͑ͩ̓̍̅͊m͒ͨ̿̒̍ͨ̀͊̀ͤ̑̇ͤ̄͝ᴰᴺᴬ {
|
||||
;
|
||||
interface CLASSLENGᐧ𒊹𒈔𒂝𒅒𒅄𒀰𒀱𒋲𒍟ᐧ𒂔𒈾ᐧ𒀊𒁀抽ᒢᐩᐩ {}
|
||||
}
|
||||
}
|
||||
interface CLASS_0123456789_0123456789_0123456789_0123456789_0123456789_0123456789_0123456789_0123456789_0123456789_0123456789_0123456789_0123456789_0123456789_0123456789_LENGTH12ᐧ𒊹𒈔𒂝𒅒𒅄𒀰𒀱𒁃ᐧ𒂔𒈾ᐧ𒀊𒁀抽ᒢᐩᐩ {}
|
||||
|
||||
// ===========================================================
|
||||
// Case X: no optional brackets brackets brackets and brackets
|
||||
|
||||
@Test
|
||||
public void testElseBlockWithoutBrackets() {
|
||||
int a = 123;
|
||||
int b = 456;
|
||||
Assertions.assertNotEquals(a, b);
|
||||
if (a != b) {
|
||||
Assertions.assertFalse(a == b, "JVM Error");
|
||||
} else
|
||||
Assertions.fail("Bracket missalign");
|
||||
a = b;
|
||||
Assertions.assertEquals(a, b);
|
||||
}
|
||||
|
||||
// ===========================================================
|
||||
// Case X: Static reference works fine in eclipse compiler;
|
||||
//[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.10.1:testCompile (default-testCompile) on project bassboon-jppre: Compilation failure: Compilation failure:
|
||||
//[ERROR] EclipseTest.java: illegal reference to static field from initializer
|
||||
|
||||
// remove two comments in runnable and all works fine in eclipse but not on javac
|
||||
enum 漢語ʸᴰ {
|
||||
// اللهᐧأكبر, // note: needed some hebrew to force rendering any (java) code in arabic
|
||||
أَكْبَرײꣻײالله;
|
||||
public AtomicInteger boonCntInit = new AtomicInteger();
|
||||
private Runnable Г̄Ѫӏ = () -> {
|
||||
//漢語ʸᴰ.أَكْبَرײꣻײالله.fun(漢語ʸᴰ.أَكْبَرײꣻײالله).init(漢語ʸᴰ.أَكْبَرײꣻײالله);
|
||||
//漢語ʸᴰ.أَكْبَرײꣻײالله.Г̄Ѫӏ = () -> boonCntInit.incrementAndGet();
|
||||
};
|
||||
private 漢語ʸᴰ() {
|
||||
init(this);
|
||||
}
|
||||
public 漢語ʸᴰ fun(Object x) {
|
||||
return this;
|
||||
}
|
||||
public void init(Object y) {
|
||||
Г̄Ѫӏ.run();
|
||||
}
|
||||
}
|
||||
|
||||
// ===========================================================
|
||||
// Case X: Vai unicode is flagged as illigal immigrant
|
||||
|
||||
void ꕙꔤ() {} // Vai syllabary
|
||||
void ꔀꔁꔂꔃꔄꔅꔆꔇꔈꔉꔊꔋꔌꔍꔎꔏ() {}
|
||||
void ꔐꔑꔒꔓꔔꔕꔖꔗꔘꔙꔚꔛꔜꔝꔞꔟ() {}
|
||||
void ꔠꔡꔢꔣꔤꔥꔦꔧꔨꔩꔪꔫꔬꔭꔮꔯ() {}
|
||||
void ꔰꔱꔲꔳꔴꔵꔶꔷꔸꔹꔺꔻꔼꔽꔾꔿ() {}
|
||||
void ꕀꕁꕂꕃꕄꕅꕆꕇꕈꕉꕊꕋꕌꕍꕎꕏ() {}
|
||||
void ꕐꕑꕒꕓꕔꕕꕖꕗꕘꕙꕚꕛꕜꕝꕞꕟ() {}
|
||||
void ꕠꕡꕢꕣꕤꕥꕦꕧꕨꕩꕪꕫꕬꕭꕮ() {}
|
||||
void ꕰꕱꕲꕳꕴꕵꕶꕷꕸꕹꕺꕻꕼꕽꕾꕿ() {}
|
||||
void ꖀꖁꖂꖃꖄꖅꖆꖇꖈꖉꖊꖋꖌꖍꖎꖏ() {}
|
||||
void ꖐꖑꖒꖓꖔꖕꖖꖗꖘꖙꖚꖛꖜꖝꖞꖟ() {}
|
||||
void ꖠꖡꖢꖣꖤꖥꖦꖧꖨꖩꖪꖫꖬꖭꖮꖯ() {}
|
||||
void ꖰꖱꖲꖳꖴꖵꖶꖷꖸꖹꖺꖻꖼꖽꖾꖿ() {}
|
||||
void ꗀꗁꗂꗃꗄꗅꗆꗇꗈꗉꗊꗋꗌꗍꗎꗏ() {}
|
||||
void ꗐꗑꗒꗓꗔꗕꗖꗗꗘꗙꗚꗛꗜꗝꗞꗟ() {}
|
||||
void ꗠꗡꗢꗣꗤꗥꗦꗧꗨꗩꗪꗫꗬꗭꗮꗯ() {}
|
||||
void ꗰꗱꗲꗳꗴꗵꗶꗷꗸꗹꗺꗻꗼꗽꗾꗿ() {}
|
||||
void ꘀꘁꘂꘃꘄꘅꘆꘇꘈꘉꘊꘋꘌ() {}
|
||||
//void ꘍꘎꘏() {} // why-java-disallowed ?
|
||||
void ꘐꘑꘒꘓꘔꘕꘖꘗꘘꘙꘚꘛꘜꘝꘞꘟ() {}
|
||||
//void ꘠꘡꘢꘣꘤꘥꘦꘧꘨꘩() {} // why-java-disallowed ?
|
||||
void ꘪꘫ() {}
|
||||
Class<?> 𓂺() { return ClassLoader.class; } // egyptian seed function is allowed
|
||||
|
||||
// ===========================================================
|
||||
// Case X: Run javadoc via: mvn javadoc:javadoc
|
||||
// Generates 824M of HTML
|
||||
|
||||
// Error in javadoc in valueOf static method on enums, for example see;
|
||||
//static T512ᖟ valueOf(int index) Returns the enum constant of this type with the specified name. <=== FAIL
|
||||
//static T512ᖟ valueOf(String name) Returns the enum constant of this type with the specified name. <=== CORRECT
|
||||
//static T512ᖟ valueOf(T008ᖟ lower, T008ᖟ middle, T008ᖟ upper)
|
||||
//static T512ᖟ valueOf(BaseIteratorX3 values) Returns the enum constant of this type with the specified name. <=== FAIL
|
||||
|
||||
// Error in letter hair, method name rendering selects font-family: 'DejaVu Sans Mono', monospace;
|
||||
// for example on Interface BãßꝐḯŕ₳₮ḕBőatRaiseSail
|
||||
// default void rͤͯ̇̿ͮͫa̵̸i̷̡͒͂ͬ́ͦ̓͛̄ͧ͂͊sͥͫͬ͢͡eͧ̓͐̌ͯͯ͆T̨̡̂̒̊͂ͣ̔ͧ̃̚͠he̔Ş̀a̢ͧͫ̑̋ͣ͐̍̉̄ͭ̋ͯ͛͞ī̷ͮ̾̉ͩ̽l̵̏̈́ͨ̾ͯ͡ś̶(BãßBȍőnBőatWindKnots storm, BãßBȍőnBőatWind wind)
|
||||
// When the method name is rendered as monospace in javadoc the letter hair breaks.
|
||||
|
||||
// Because of one line listing of the interfaces large interface trees are unreadable;
|
||||
// see LegoBrickStairWay and read the LegoBrickStairWay.LegoᐧTerminatorᐧCurveᐧTaxi, the browser
|
||||
// windows needs to be made small to force line wrapping of the following items;
|
||||
// - H2 Interface title
|
||||
// - All Superinterfaces:
|
||||
// - All Known Subinterfaces:
|
||||
// - All @Documented annotations + newline after method annotation before method doc
|
||||
|
||||
// Error if the babel enum (used in annotation) like for example in T002ᖟ is private
|
||||
// javadoc fails (also on show private), thus keeping all babel enums protected.
|
||||
// privatize T002ᖟ.ₜₓₜName and/or T002ᖟ.ₜₓₜChina and no java doc build possible;
|
||||
// [ERROR] Exit code: 1
|
||||
// [ERROR] ....T002ᖟ.java:40: error: ₜₓₜName has private access in T002ᖟ
|
||||
// [ERROR] @Terminator注(slices = 2, duytsName = T002ᖟ.ₜₓₜName.class, duytsChina = T002ᖟ.ₜₓₜChina.class)
|
||||
|
||||
// javadoc "CODE access level" filtering options should never have been added to javadoc,
|
||||
// but anyway the default must the lowest or "private", as its currently called.
|
||||
// (And add access level also to the class H2 title for correctness)
|
||||
|
||||
// Error unicode is escaped in annotations and rendered like this;
|
||||
// @DuytsDocAuthor注(name="\u0644\u0644\u064e\u0651\u0670\u0647\u0650ilL\u05e6\u0633\u064f\u0648", copyright="\u00a9\u0394\u221e \u4ed9\u4e0a\u4e3b\u5929")
|
||||
// And repeatable annotation don't line wrap and thus are unreadable see; BãßBȍőnSelfKeenCoinMachine
|
||||
// @TasteCakeGutterGlitter注(eat=@FoodGlitter注(postfix="\u1da6\u1da6\u1da6"),taste=@FoodSelect注(burn=CLASS_FINAL,sparklerDeclaringEquals=true,sparklerDeclaring=BãßBȍőn𓄯.class)) @TasteCakeGutterGlitter注(eat=@FoodGlitter注(postfix="\u1da6\u1da6\u1da6\u1da6"),taste=@FoodSelect注(burn=CLASS_FINAL,sparklerDeclaringEquals=true,sparklerDeclaring=BãßBȍőn𓄯.class,sparklerDeclaringNot=true)) @TasteCakeGutterGlitter注(eat=@FoodGlitter注(prefix="\u14a2B\u020d\u0151nD\u024d\u01da\ua7ff"),taste=@FoodSelect注(burn=CLASS_FINAL))
|
||||
}
|
||||
|
|
@ -0,0 +1,76 @@
|
|||
/*
|
||||
* 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 ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒄᓫᣔᐪᑋ.ᐧᣞᣛ.低音ᣟ骨ᣟ棺材ᣟ鬼ᣟ魅力;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒄᓫᣔᐪᑋ.ᐧᣞᣛ.低音ᣟ骨ᣟ棺材ᣟ鬼ᣟ魅力ᣟ鎖;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class BãßBȍőnCoffinGhostSpellLockԲTest {
|
||||
|
||||
@Test
|
||||
public void testLock() {
|
||||
BãßBȍőnCoffinGhostԲ ghost = BãßBȍőnCoffinGhostSpellLockԲ.亞.instanceᴺᵉʷ();
|
||||
Assertions.assertTrue(ghost instanceof BãßBȍőnCoffinGhostSpellLockԲ);
|
||||
Assertions.assertTrue(ghost instanceof BãßBȍőnCoffinGhostSpellԲ);
|
||||
Assertions.assertTrue(ghost instanceof BãßBȍőnCoffinGhostԲ);
|
||||
ghost = BãßBȍőnCoffinGhostSpellLockԲ.亞.castᴼᶠᐧᐧᐧᐧ(ghost).opsluiten();
|
||||
Assertions.assertFalse(ghost instanceof BãßBȍőnCoffinGhostSpellLockԲ);
|
||||
Assertions.assertFalse(ghost instanceof BãßBȍőnCoffinGhostSpellԲ);
|
||||
Assertions.assertTrue(ghost instanceof BãßBȍőnCoffinGhostԲ);
|
||||
}
|
||||
|
||||
// @Test
|
||||
// public void testLockChinees() {
|
||||
// 低音ᣟ骨ᣟ棺材ᣟ鬼 ghost = 低音ᣟ骨ᣟ棺材ᣟ鬼ᣟ魅力ᣟ鎖.亞.實例ᐧ新的();
|
||||
// Assertions.assertFalse(ghost instanceof BãßBȍőnCoffinGhostSpellLockԲ);
|
||||
// Assertions.assertFalse(ghost instanceof BãßBȍőnCoffinGhostSpellԲ);
|
||||
// Assertions.assertFalse(ghost instanceof BãßBȍőnCoffinGhostԲ);
|
||||
// Assertions.assertTrue(ghost instanceof BãßBȍőnCoffinGhostSpellLockԲ.ßabel漢語);
|
||||
// Assertions.assertTrue(ghost instanceof BãßBȍőnCoffinGhostSpellԲ.ßabel漢語);
|
||||
// Assertions.assertTrue(ghost instanceof BãßBȍőnCoffinGhostԲ.ßabel漢語);
|
||||
// Assertions.assertTrue(ghost instanceof 低音ᣟ骨ᣟ棺材ᣟ鬼ᣟ魅力ᣟ鎖);
|
||||
// Assertions.assertTrue(ghost instanceof 低音ᣟ骨ᣟ棺材ᣟ鬼ᣟ魅力);
|
||||
// Assertions.assertTrue(ghost instanceof 低音ᣟ骨ᣟ棺材ᣟ鬼);
|
||||
// ghost = 低音ᣟ骨ᣟ棺材ᣟ鬼ᣟ魅力ᣟ鎖.亞.投擲ᐧ從ᐧᐧᐧᐧ(ghost).鎖();
|
||||
// Assertions.assertFalse(ghost instanceof BãßBȍőnCoffinGhostSpellLockԲ);
|
||||
// Assertions.assertFalse(ghost instanceof BãßBȍőnCoffinGhostSpellԲ);
|
||||
// Assertions.assertFalse(ghost instanceof BãßBȍőnCoffinGhostԲ);
|
||||
// Assertions.assertFalse(ghost instanceof BãßBȍőnCoffinGhostSpellLockԲ.ßabel漢語);
|
||||
// Assertions.assertFalse(ghost instanceof BãßBȍőnCoffinGhostSpellԲ.ßabel漢語);
|
||||
// Assertions.assertTrue(ghost instanceof BãßBȍőnCoffinGhostԲ.ßabel漢語);
|
||||
// Assertions.assertFalse(ghost instanceof 低音ᣟ骨ᣟ棺材ᣟ鬼ᣟ魅力ᣟ鎖);
|
||||
// Assertions.assertFalse(ghost instanceof 低音ᣟ骨ᣟ棺材ᣟ鬼ᣟ魅力);
|
||||
// Assertions.assertTrue(ghost instanceof 低音ᣟ骨ᣟ棺材ᣟ鬼);
|
||||
// }
|
||||
}
|
||||
|
|
@ -0,0 +1,140 @@
|
|||
/*
|
||||
* 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.PrintStream;
|
||||
import java.lang.annotation.Documented;
|
||||
import java.lang.annotation.ElementType;
|
||||
import java.lang.annotation.Retention;
|
||||
import java.lang.annotation.RetentionPolicy;
|
||||
import java.lang.annotation.Target;
|
||||
import java.util.Optional;
|
||||
|
||||
import org.junit.jupiter.api.Assertions;
|
||||
import org.junit.jupiter.api.Test;
|
||||
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒃᐤᣔᐪ.BãßBȍőnBőatꞱᴿᴳᴮ;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒄᓫᣔᐪᑋ.ᔆᣖᑊᒄᓫᣗ.ᐧᣞᣛ.低音ᣟ骨ᣟ蜘蛛ᣟ金屬絲;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒄᓫᣔᐪᑋ.ᔆᣖᑊᒄᓫᣗ.ᐧᣞᣛ.低音ᣟ骨ᣟ蜘蛛ᣟ金屬絲ᣟ龍;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᔿᓑᔿᔿᔋᐝᣚ.BãßᛗᚢᛗᛗᛉBoobBabe𓄯ᶠˡʸ;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᒢSystemꞱᴿᴳᴮ;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.StringUnicode;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣔᣕᣕᐤᐪᣔᐪᑊᐤᣕ.Generated注;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣔᣕᣕᐤᐪᣔᐪᑊᐤᣕ.ᐧᣞᣛ.ᐊᐅᓚᔾᔭᒋᐊᖅᓯᒪᔪᖅ;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣔᣕᣕᐤᐪᣔᐪᑊᐤᣕ.ᐧᣞᣛ.𓃦𓃈𓌰𓍟;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
@BãßBȍőnSpiderTest.MyAnno(fooBar = "junit")
|
||||
@𓃦𓃈𓌰𓍟(𓏞𓆦 = "foobar")
|
||||
public class BãßBȍőnSpiderTest implements BãßᛗᚢᛗᛗᛉBoobBabe𓄯ᶠˡʸ<BãßBȍőnSpiderTest> {
|
||||
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.TYPE})
|
||||
public @interface MyAnno {
|
||||
String fooBar();
|
||||
}
|
||||
|
||||
@Documented
|
||||
@Retention(RetentionPolicy.RUNTIME)
|
||||
@Target({ElementType.TYPE})
|
||||
public @interface MyAnnoMissing {
|
||||
String fooBar();
|
||||
}
|
||||
|
||||
@BãßBȍőnSpiderWire注(paint = BãßBȍőnBőatꞱᴿᴳᴮ.ẞassPaint.ꞱAnnotationWire.class, optional = MyAnnoMissing.class)
|
||||
private MyAnnoMissing myAnnoNullable;
|
||||
|
||||
@BãßBȍőnSpiderWire注(paint = BãßBȍőnBőatꞱᴿᴳᴮ.ẞassPaint.ꞱAnnotationWire.class, optional = MyAnno.class)
|
||||
private Optional<MyAnno> myAnnoOptional;
|
||||
|
||||
@BãßBȍőnSpiderWire注(paint = BãßBȍőnBőatꞱᴿᴳᴮ.ẞassPaint.ꞱAnnotationWire.class)
|
||||
private Generated注 annoAutoConverted1;
|
||||
|
||||
@BãßBȍőnSpiderWire注(paint = BãßBȍőnBőatꞱᴿᴳᴮ.ẞassPaint.ꞱAnnotationWire.class)
|
||||
private ᐊᐅᓚᔾᔭᒋᐊᖅᓯᒪᔪᖅ annoAutoConverted2;
|
||||
|
||||
@BãßBȍőnSpiderWire注(paint = ᒢSystemꞱᴿᴳᴮ.ẞassPaint.ꞱPropertyWireFly.class)
|
||||
@BãßBȍőnSpiderWireFly注(eye = "java.version")
|
||||
private String javaVersion;
|
||||
|
||||
@BãßBȍőnSpiderWire注(paint = ᒢSystemꞱᴿᴳᴮ.ẞassPaint.ꞱPropertyWireDragon.class)
|
||||
@BãßBȍőnSpiderWireDragon注(blood = ᒢSystemꞱᴿᴳᴮ.ẞlooTꞱProperty.ᕯUserHome.class)
|
||||
private String userHome;
|
||||
|
||||
@BãßBȍőnSpiderWire注(paint = ᒢSystemꞱᴿᴳᴮ.ẞassPaint.ꞱPropertyWireDragon.class)
|
||||
@BãßBȍőnSpiderWireDragon注(blood = ᒢSystemꞱᴿᴳᴮ.ẞlooTꞱProperty.ᕯOperatingSystemName.class)
|
||||
private StringUnicode osName;
|
||||
|
||||
@BãßBȍőnSpiderWire注(paint = ᒢSystemꞱᴿᴳᴮ.ẞassPaint.ꞱProcessPipeWireDragon.class)
|
||||
@BãßBȍőnSpiderWireDragon注(blood = ᒢSystemꞱᴿᴳᴮ.ẞlooTꞱProcessPipe.ᕯstdout.class)
|
||||
private PrintStream stdout;
|
||||
|
||||
@低音ᣟ骨ᣟ蜘蛛ᣟ金屬絲(畫 = ᒢSystemꞱᴿᴳᴮ.ẞassPaint.ꞱPropertyWireDragon.class)
|
||||
@低音ᣟ骨ᣟ蜘蛛ᣟ金屬絲ᣟ龍(血 = ᒢSystemꞱᴿᴳᴮ.ẞlooTꞱProperty.ᕯUserName.class)
|
||||
private String userName;
|
||||
|
||||
// TODO 1: Translate paint interfaces
|
||||
// TODO 2: Babelize StringUnicode
|
||||
// TODO 3: Babelize java.io.*
|
||||
|
||||
public BãßBȍőnSpiderTest() {
|
||||
亞ᶦᶦᶦ.thisʸᴰᐧᐧᶜᵒⁿˢᵗʳᵘᶜᵗᵒʳ(thisᵀᴮᵒⁿᵉ());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testInjectionAnno() {
|
||||
Assertions.assertNull(myAnnoNullable);
|
||||
Assertions.assertNotNull(myAnnoOptional);
|
||||
Assertions.assertTrue(myAnnoOptional.isPresent());
|
||||
Assertions.assertEquals("junit", myAnnoOptional.get().fooBar());
|
||||
Assertions.assertNotNull(annoAutoConverted1);
|
||||
Assertions.assertEquals("foobar", annoAutoConverted1.by());
|
||||
Assertions.assertNotNull(annoAutoConverted2);
|
||||
Assertions.assertEquals("foobar", annoAutoConverted2.ᐆᒧᖓ());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testInjectionJavaSystem() {
|
||||
Assertions.assertNotNull(javaVersion);
|
||||
Assertions.assertNotNull(userHome);
|
||||
Assertions.assertNotNull(osName);
|
||||
Assertions.assertNotNull(stdout);
|
||||
Assertions.assertNotNull(userName);
|
||||
Assertions.assertEquals(System.getProperty("java.version"), javaVersion);
|
||||
Assertions.assertEquals(System.getProperty("user.home"), userHome);
|
||||
Assertions.assertEquals(System.getProperty("os.name"), osName.toString());
|
||||
|
||||
stdout.println("user.name=" + userName);
|
||||
stdout.println("user.home=" + userHome);
|
||||
stdout.println("java.version=" + javaVersion);
|
||||
stdout.println("os.name=" + osName);
|
||||
stdout.println("generated.by=" + annoAutoConverted2.ᐆᒧᖓ());
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,68 @@
|
|||
/*
|
||||
* 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 ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᔿᓑᔿᔿᔋᐝᣚ.BãßᛗᚢᛗᛗᛉBoneBabe𓄯;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class BãßBȍőnLostSoulNoiseTest {
|
||||
|
||||
static private boolean initStatic = false;
|
||||
|
||||
@BãßBȍőnLostSoulScream注(staticNoise = InitStaticCodeInInterface𓄯.LostSoulCorpse.class)
|
||||
private interface InitStaticCodeInInterface𓄯<T extends InitStaticCodeInInterface𓄯<T>> extends BãßᛗᚢᛗᛗᛉBoneBabe𓄯<T> {
|
||||
|
||||
enum LostSoulCorpse {
|
||||
;
|
||||
static {
|
||||
BãßBȍőnLostSoulNoiseTest.initStatic = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static final class LostSoulNoiseImpl implements InitStaticCodeInInterface𓄯<LostSoulNoiseImpl> {
|
||||
LostSoulNoiseImpl() {
|
||||
亞ᶦᶦᶦ.thisʸᴰᐧᐧᶜᵒⁿˢᵗʳᵘᶜᵗᵒʳ(thisᵀᴮᵒⁿᵉ());
|
||||
}
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testStaticInterfaceInit() {
|
||||
Assertions.assertFalse(initStatic);
|
||||
Assertions.assertNotNull(new LostSoulNoiseImpl());
|
||||
Assertions.assertTrue(initStatic);
|
||||
initStatic = false;
|
||||
Assertions.assertFalse(initStatic);
|
||||
Assertions.assertNotNull(new LostSoulNoiseImpl());
|
||||
Assertions.assertFalse(initStatic, "Broken jvm detected");
|
||||
}
|
||||
}
|
||||
|
|
@ -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());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -0,0 +1,147 @@
|
|||
/*
|
||||
* 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 ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.BãßBȍőn𓄯;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒼᒻᣔᙆᙆ.BãßBȍőnSelfKeenCoinMachine抽;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᒼᒻᣔᙆᙆ.ᣖᑊᣗᣔᐪᓫ.BãßBȍőnꝐḯŕ₳₮ḕPhaseꝹᵀˣᵀ;
|
||||
import ᒢᐩᐩ.ᒃᣔᔆᔆᒃᐤᐤᣕ.ᔿᓑᔿᔿᔋᐝᣚ.BãßᛗᚢᛗᛗᛉBoobBabe𓄯ᶠˡʸ;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᒢEasterEgg;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᒢSystemꞱᴿᴳᴮ;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᒢꞱSkeletorIuncturam;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᒢꞱSkeletorObject;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.StringBuilderԲᴬᵖᶦ;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᔿᓫᐪᑋᐤᒄᐤᓑᔿᔆ.RunnableԲ;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T002ᖟ;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T003ᖟ;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T004ᖟ;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T008ᖟ;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T256ᖟ;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T512ᖟ;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.ᐦ.Terminator𓄯;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᣔᒃᣔᒼᓑᔆ.TeŀRáàmRȧñkEnumOperatorꝹᵀˣᵀ;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᣔᒃᣔᒼᓑᔆ.TeŀRáàmRȧñkEnumꝹᵀˣᵀ;
|
||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᣔᒃᣔᒼᓑᔆ.TeŀRáàmRȧñkLineꝹᵀˣᵀ;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.Babel;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.Duyts;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocMethodꝹᵀˣᵀ;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsZenꞱᴿᴳᴮ;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒢᔿᕽ.Vū́ǘrBȍőnSupportꞱᴿᴳᴮ;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒻᐤᕐᕐᓫᣗ.SoepLepelԲᴬᵖᶦ;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒻᐤᕐᕐᓫᣗ.SoepLepelꞱᴿᴳᴮ;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒻᐤᣔᑊᐣᓫᣗ.ServiceLoaderԲᴬᵖᶦ;
|
||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒻᐤᣔᑊᐣᓫᣗ.ServiceLoaderꞱᴿᴳᴮ;
|
||||
|
||||
@DuytsDocAuthor注(name = "للَّٰهِilLצسُو", copyright = "©Δ∞ 仙上主天")
|
||||
public class EnterPieCuisineTest {
|
||||
|
||||
@Test
|
||||
public void testFoodFunctional() {
|
||||
Assertions.assertFalse(FoodType.ANY_METHODISCH.matchClass(Object.class));
|
||||
|
||||
Assertions.assertTrue(FoodType.INTERFACE_MONO_METHODISCH.matchClass(Runnable.class));
|
||||
Assertions.assertFalse(FoodType.INTERFACE_POLY_METHODISCH.matchClass(Runnable.class));
|
||||
|
||||
Assertions.assertFalse(FoodType.INTERFACE_MONO_METHODISCH.matchClass(RunnableԲ.class));
|
||||
Assertions.assertTrue(FoodType.INTERFACE_POLY_METHODISCH.matchClass(RunnableԲ.class));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testEnterPieSize() {
|
||||
EnterPieCuisine cuisine = EnterPieCuisine.instanceᴺᵉʷ();
|
||||
EnterPieDessert dessert = cuisine.ₚᵣₐᵧToੴ(EnterPie.class);
|
||||
Assertions.assertNotNull(dessert);
|
||||
Assertions.assertTrue(dessert.getMenu().size() > 10);
|
||||
}
|
||||
|
||||
// @Test
|
||||
// public void testDessertPrintBoobBabe() {
|
||||
// EnterPieCuisine cuisine = EnterPieCuisine.instanceᴺᵉʷ();
|
||||
// EnterPieDessert dessert = cuisine.ₚᵣₐᵧToੴ(BãßᛗᚢᛗᛗᛉBoobBabe𓄯ᶠˡʸ.class);
|
||||
// System.out.println(dessert);
|
||||
// for (EnterPieDessertMenu menu : dessert.getMenu()) {
|
||||
// System.out.println(menu);
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// @Test
|
||||
// public void testDessertPrintTerminator() {
|
||||
// EnterPieCuisine cuisine = EnterPieCuisine.instanceᴺᵉʷ();
|
||||
// EnterPieDessert dessert = cuisine.ₚᵣₐᵧToੴ(T008ᖟ.class);
|
||||
// System.out.println(dessert);
|
||||
// for (EnterPieDessertMenu menu : dessert.getMenu()) {
|
||||
// System.out.println(menu);
|
||||
// }
|
||||
// }
|
||||
|
||||
@Test
|
||||
public void testDessert() {
|
||||
prayPie(EnterPie.class);
|
||||
prayPie(EnterPieCuisine.class);
|
||||
prayPie(EnterPieCuisineꝹᵀˣᵀ.class);
|
||||
prayPie(Duyts.class);
|
||||
prayPie(Babel.class);
|
||||
prayPie(ᒢEasterEgg.class);
|
||||
prayPie(ᒢSystemꞱᴿᴳᴮ.class);
|
||||
prayPie(StringBuilderԲᴬᵖᶦ.class);
|
||||
prayPie(DuytsDocMethodꝹᵀˣᵀ.class);
|
||||
prayPie(BãßBȍőnꝐḯŕ₳₮ḕPhaseꝹᵀˣᵀ.class);
|
||||
prayPie(BãßBȍőnSelfKeenCoinMachine抽.class);
|
||||
prayPie(BãßBȍőn𓄯.class);
|
||||
prayPie(Terminator𓄯.class);
|
||||
prayPie(BãßᛗᚢᛗᛗᛉBoobBabe𓄯ᶠˡʸ.class);
|
||||
prayPie(Vū́ǘrBȍőnSupportꞱᴿᴳᴮ.class);
|
||||
prayPie(TeŀRáàmRȧñkEnumꝹᵀˣᵀ.class);
|
||||
prayPie(TeŀRáàmRȧñkLineꝹᵀˣᵀ.class);
|
||||
prayPie(TeŀRáàmRȧñkEnumOperatorꝹᵀˣᵀ.class);
|
||||
prayPie(SoepLepelԲᴬᵖᶦ.class);
|
||||
prayPie(SoepLepelꞱᴿᴳᴮ.class);
|
||||
prayPie(ServiceLoaderꞱᴿᴳᴮ.class);
|
||||
prayPie(ServiceLoaderԲᴬᵖᶦ.class);
|
||||
prayPie(DuytsZenꞱᴿᴳᴮ.class);
|
||||
prayPie(Vū́ǘrBȍőnSupportꞱᴿᴳᴮ.class);
|
||||
prayPie(ᒢꞱSkeletorIuncturam.class);
|
||||
prayPie(ᒢꞱSkeletorObject.class);
|
||||
prayPie(T002ᖟ.class);
|
||||
prayPie(T003ᖟ.class);
|
||||
prayPie(T004ᖟ.class);
|
||||
prayPie(T256ᖟ.class);
|
||||
prayPie(T512ᖟ.class);
|
||||
}
|
||||
|
||||
private void prayPie(Class<?> taart) {
|
||||
EnterPieCuisine cuisine = EnterPieCuisine.instanceᴺᵉʷ();
|
||||
EnterPieDessert dessert = cuisine.ₚᵣₐᵧToੴ(taart);
|
||||
Assertions.assertTrue(dessert.getMenu().size() > 0, "Missing dessert: " + taart);
|
||||
System.out.println(dessert);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue