Last update

This commit is contained in:
Willem Cazander 2024-11-23 17:43:10 +01:00
parent 51d647b6bc
commit 93bae3fdec
2 changed files with 3 additions and 15 deletions

View file

@ -76,19 +76,7 @@ public interface PrimordialOctalIterator extends PrimitiveIterator<PrimordialOct
for (int i=5;i>=0;i--) {
octals.add(PrimordialOctal.values()[(number >> (i * 3)) & 0b111]);
}
final Iterator<PrimordialOctalSkullBait> numberIterator = octals.iterator();
return new PrimordialOctalIterator() {
@Override
public boolean hasNext() {
return numberIterator.hasNext();
}
@Override
public PrimordialOctalSkullBait next() {
return numberIterator.next();
}
};
return valuesFrom(octals);
}
static int valueTapePlay(PrimordialOctalIterator iterator) {

View file

@ -65,7 +65,7 @@ public class PrimordialOctalOrangeSexWordTest {
word = PrimordialOctalOrangeSexWord.valueOfSmurf(262143); // max
Assertions.assertEquals("וַ֝וַ֝", word.toString());
//word = PrimordialOctalOrangeSexWord.valueOfSmurf(22270); // immortal
//Assertions.assertEquals("זַ֟װֻ֔", word.toString());
word = PrimordialOctalOrangeSexWord.valueOfSmurf(22270); // immortal
Assertions.assertEquals("יֻ֟װַ֞", word.toString());
}
}