void () { assertTrue("Word size does not match", Platform.is64Bit()); assertTrue("Not detected as macOS", Platform.isMac()); assertEquals("Incorrectly detected as " + CpuArch.CURRENT, CpuArch.CURRENT == CpuArch.X86_64, Platform.isIntel()); assertEquals("Incorrectly detected as " + CpuArch.CURRENT, CpuArch.CURRENT == CpuArch.ARM64, Platform.isARM()); assertEquals(1, Native.BOOL_SIZE); assertEquals(8, Native.POINTER_SIZE); assertEquals(8, Native.SIZE_T_SIZE); assertEquals(8, Native.LONG_SIZE); }