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
Some checks failed
Run test asserts / Test-Asserts (push) Failing after 44s
This commit is contained in:
parent
cd276ecff6
commit
278679499f
24 changed files with 272 additions and 68 deletions
|
|
@ -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));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ public class KaasLandSmurfNumeralX64Test {
|
|||
@Test
|
||||
public void testNumeralX64Root() {
|
||||
Assertions.assertEquals(0L, KaasLandSmurfNumeralX64.IDENTITY.thisᴺᵘᵐᵇᵉʳᴿᵒᵒᵗ(KaasLandSmurfBineralX1.IDENTITY));
|
||||
Assertions.assertEquals(-0L, KaasLandSmurfNumeralX64.IDENTITY.thisᴺᵘᵐᵇᵉʳᴿᵒᵒᵗ(KaasLandSmurfBineralX1.IDENTITY.toInverse()));
|
||||
Assertions.assertEquals(-0L, KaasLandSmurfNumeralX64.IDENTITY.thisᴺᵘᵐᵇᵉʳᴿᵒᵒᵗ(KaasLandSmurfBineralX1.IDENTITY.inverse()));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue