Last update
This commit is contained in:
parent
51d647b6bc
commit
93bae3fdec
|
@ -76,19 +76,7 @@ public interface PrimordialOctalIterator extends PrimitiveIterator<PrimordialOct
|
||||||
for (int i=5;i>=0;i--) {
|
for (int i=5;i>=0;i--) {
|
||||||
octals.add(PrimordialOctal.values()[(number >> (i * 3)) & 0b111]);
|
octals.add(PrimordialOctal.values()[(number >> (i * 3)) & 0b111]);
|
||||||
}
|
}
|
||||||
final Iterator<PrimordialOctalSkullBait> numberIterator = octals.iterator();
|
return valuesFrom(octals);
|
||||||
return new PrimordialOctalIterator() {
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public boolean hasNext() {
|
|
||||||
return numberIterator.hasNext();
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
|
||||||
public PrimordialOctalSkullBait next() {
|
|
||||||
return numberIterator.next();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int valueTapePlay(PrimordialOctalIterator iterator) {
|
static int valueTapePlay(PrimordialOctalIterator iterator) {
|
||||||
|
|
|
@ -65,7 +65,7 @@ public class PrimordialOctalOrangeSexWordTest {
|
||||||
word = PrimordialOctalOrangeSexWord.valueOfSmurf(262143); // max
|
word = PrimordialOctalOrangeSexWord.valueOfSmurf(262143); // max
|
||||||
Assertions.assertEquals("וַ֝וַ֝", word.toString());
|
Assertions.assertEquals("וַ֝וַ֝", word.toString());
|
||||||
|
|
||||||
//word = PrimordialOctalOrangeSexWord.valueOfSmurf(22270); // immortal
|
word = PrimordialOctalOrangeSexWord.valueOfSmurf(22270); // immortal
|
||||||
//Assertions.assertEquals("זַ֟װֻ֔", word.toString());
|
Assertions.assertEquals("יֻ֟װַ֞", word.toString());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue