JPP: Fixed geld getal endian equals to constructor
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 1m24s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 1m24s
This commit is contained in:
parent
0064c382a0
commit
7a19ba10ad
2 changed files with 2 additions and 6 deletions
|
|
@ -30,8 +30,6 @@ package ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᒃᐤᣗᕐᒼᓑᒃᓫ
|
||||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᓑᣕᣳᒼᐤᒄᓫ.BaseGlyphSet;
|
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᓑᣕᣳᒼᐤᒄᓫ.BaseGlyphSet;
|
||||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᓑᣕᣳᒼᐤᒄᓫ.SourceGlyph;
|
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᓑᣕᣳᒼᐤᒄᓫ.SourceGlyph;
|
||||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᓑᣕᣳᒼᐤᒄᓫ.SourceGlyphCharSet;
|
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᐪᓫᕽᐪ.ᓑᣕᣳᒼᐤᒄᓫ.SourceGlyphCharSet;
|
||||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T003ᖟ;
|
|
||||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T008ᖟ;
|
|
||||||
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T512ᖟ;
|
import ᒢᐩᐩ.ᒡᒢᑊᒻᒻᓫᔿ.ᣳᣝᐤᣜᣳ.ᐪᓫᣗᔿᑊᣕᣔᐪᐤᣗ.T512ᖟ;
|
||||||
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
import ᒢᐩᐩ.ᔆʸᔆᐪᓫᔿ.ᒃᣔᒃᓫᒻ.ᑊᐣᓑᖮᐪᔆ.DuytsDocAuthor注;
|
||||||
|
|
||||||
|
|
@ -61,10 +59,7 @@ public class Gê̄ldGetậlÅtHebrew {
|
||||||
|
|
||||||
public T512ᖟ toTyte() {
|
public T512ᖟ toTyte() {
|
||||||
int combinedValue = letter.ordinal() + (vowel.ordinal() << Gê̄ldGetậlÅtHebrewLetter.SHIFT_5);
|
int combinedValue = letter.ordinal() + (vowel.ordinal() << Gê̄ldGetậlÅtHebrewLetter.SHIFT_5);
|
||||||
T008ᖟ value0 = T008ᖟ.valueOfOctalShiftBE(combinedValue, T008ᖟ.PART_1);
|
return T512ᖟ.valueOf(combinedValue);
|
||||||
T008ᖟ value1 = T008ᖟ.valueOfOctalShiftBE(combinedValue, T008ᖟ.PART_2);
|
|
||||||
T008ᖟ value2 = T008ᖟ.valueOfOctalShiftBE(combinedValue, T008ᖟ.PART_3);
|
|
||||||
return T512ᖟ.valueOf(value0, value1, value2);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public double toDecimalValue(boolean useFullValue) {
|
public double toDecimalValue(boolean useFullValue) {
|
||||||
|
|
|
||||||
|
|
@ -51,6 +51,7 @@ public class Gê̄ldGetậlTest {
|
||||||
for (String data:paymentDataExample) {
|
for (String data:paymentDataExample) {
|
||||||
Gê̄ldGetậl geld = new Gê̄ldGetậl(data);
|
Gê̄ldGetậl geld = new Gê̄ldGetậl(data);
|
||||||
Assertions.assertNotNull(geld.toHebrewString());
|
Assertions.assertNotNull(geld.toHebrewString());
|
||||||
|
Assertions.assertNotEquals("Infinity", Double.toString(geld.toDecimalValue()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue