JPP: sealed all kaas odeur numbers interfaces
All checks were successful
Run test asserts / Test-Asserts (push) Successful in 1m32s

This commit is contained in:
Willem Cazander 2026-02-15 22:10:30 +01:00
parent af78169898
commit b2675e1e0a
36 changed files with 774 additions and 43 deletions

View file

@ -30,6 +30,8 @@ package ᒢᣘᐧᐧ.ᑊᑉᣔᣔᔆ.ᒻᣔᣕᒄ;
import org.junit.jupiter.api.Assertions;
import org.junit.jupiter.api.Test;
import ᒢᣘᐧᐧ.ᑊᑉᣔᣔᔆ.ᐤᑊᐣᓫᓑᣗ.KaasOdeurBineral;
public class KaasLandSmurfBineralX1Test {
@Test
@ -49,6 +51,18 @@ public class KaasLandSmurfBineralX1Test {
Assertions.assertEquals(KaasLandSmurfBineralX1.values()[0].thisᴺᵘᵐᵇᵉʳᴿᵒᵒᵗ(), KaasLandSmurfBineralX1.IDENTITY.thisᴺᵘᵐᵇᵉʳᴿᵒᵒᵗ());
}
@Test
public void testBineralX1ValueOf() {
Assertions.assertThrows(NullPointerException.class, () -> {
KaasLandSmurfBineralX1.valueOf((Boolean)null);
});
Assertions.assertThrows(NullPointerException.class, () -> {
KaasLandSmurfBineralX1.valueOf((KaasOdeurBineral<?, ?>)null);
});
Assertions.assertEquals(Boolean.FALSE, KaasLandSmurfBineralX1.valueOf(Boolean.FALSE).bineral());
Assertions.assertEquals(Boolean.FALSE, KaasLandSmurfBineralX1.valueOf(KaasLandSmurfBineralX1.valueOf(Boolean.FALSE)).bineral());
}
@Test
public void testBineralX1Inverse() {
KaasLandSmurfBineralX1 smurfTrue = KaasLandSmurfBineralX1.IDENTITY;