public static native int getOsxMemoryInfo(long[] totalAndAvailMem);
@Test
    @EnabledOnOs(OS.MAC)
    void testOsxMemory() {
        long[] mem = new long[2];
        assertEquals(0, CLibrary.getOsxMemoryInfo(mem));
        assertTrue(mem[0] > 1024, "Total: " + mem[0]);
        assertTrue(mem[1] > 1024, "Free: " + mem[1]);
        assertTrue(mem[1] < mem[0], "Free (" + mem[1] + ") < Total (" + mem[0] + ")");
    }