JAVA_VERSION = "JavaVM-1.3.1"; JAVA_VERSION_TRIMMED = getJavaVersionTrimmed(); assertEquals(1.31f, getJavaVersionAsFloat(), 0.000001f);
    public void testJavaVersionAsFloat() {        JAVA_VERSION = null;        assertEquals(0f, getJavaVersionAsFloat(), 0.000001f);        JAVA_VERSION = "1.1";        assertEquals(1.1f, getJavaVersionAsFloat(), 0.000001f);        JAVA_VERSION = "1.2";        assertEquals(1.2f, getJavaVersionAsFloat(), 0.000001f);        JAVA_VERSION = "1.3.0";        assertEquals(1.3f, getJavaVersionAsFloat(), 0.000001f);        JAVA_VERSION = "1.3.1";        assertEquals(1.31f, getJavaVersionAsFloat(), 0.000001f);        JAVA_VERSION = "1.4.0";        assertEquals(1.4f, getJavaVersionAsFloat(), 0.000001f);        JAVA_VERSION = "1.4.1";        assertEquals(1.41f, getJavaVersionAsFloat(), 0.000001f);        JAVA_VERSION = "1.5.0";        assertEquals(1.5f, getJavaVersionAsFloat(), 0.000001f);        JAVA_VERSION = "1.6.0";        assertEquals(1.6f, getJavaVersionAsFloat(), 0.000001f);    }