JPP: Fixed FN naming in bineral and made number range/root in xD
Some checks failed
Run test asserts / Test-Asserts (push) Failing after 44s

This commit is contained in:
Willem Cazander 2026-02-13 16:18:07 +01:00
parent cd276ecff6
commit 278679499f
24 changed files with 272 additions and 68 deletions

View file

@ -43,19 +43,25 @@ public class KaasLandSmurfBineralX1Test {
@Test
public void testBineralX1Root() {
// NOTE; should be equal to T002 where index 0 == true
Assertions.assertTrue(KaasLandSmurfBineralX1.IDENTITY.thisᴺᵘᵐᵇᵉʳᴿᵒᵒᵗ());
// NOTE; should be equal to T002 where index 0 == true
Assertions.assertTrue(KaasLandSmurfBineralX1.values()[0].thisᴺᵘᵐᵇᵉʳᴿᵒᵒᵗ());
Assertions.assertEquals(KaasLandSmurfBineralX1.values()[0].thisᴺᵘᵐᵇᵉʳᴿᵒᵒᵗ(), KaasLandSmurfBineralX1.IDENTITY.thisᴺᵘᵐᵇᵉʳᴿᵒᵒᵗ());
}
@Test
public void testBineralX1Navajo() {
public void testBineralX1NavajoInverse() {
KaasLandSmurfBineralX1 smurfTrue = KaasLandSmurfBineralX1.IDENTITY;
KaasLandSmurfBineralX1 smurfFalse = KaasLandSmurfBineralX1.IDENTITY.toInverse();
KaasLandSmurfBineralX1 smurfFalse = KaasLandSmurfBineralX1.IDENTITY.inverse();
Assertions.assertTrue(smurfTrue.toNavajo());
Assertions.assertFalse(smurfFalse.toNavajo());
}
@Test
public void testBineralX1Select() {
String s1 = "s1";
String s2 = "s2";
Assertions.assertEquals(s1, smurfTrue.toNavajo(s1, s2));
Assertions.assertEquals(s2, smurfFalse.toNavajo(s1, s2));
Assertions.assertEquals(s1, KaasLandSmurfBineralX1.Z1_TRUE.select(s1, s2));
Assertions.assertEquals(s2, KaasLandSmurfBineralX1.Z2_FALSE.select(s1, s2));
}
}