    @Test
    public void testFileStringInvalid() {

        assertEquals(DeviceInfo.getCoresFromFileString("INVALIDSTRING"), -1);
        assertEquals(DeviceInfo.getCoresFromFileString("0-2a"), -1);
        assertEquals(DeviceInfo.getCoresFromFileString("035"), -1);
    }