public void setProtectThreshold(float protectThreshold) {
        this.protectThreshold = protectThreshold;
    }
@Test
    void testSetProtectThreshold() {
        final ProtectMode protectMode = new ProtectMode();
        float expect = 0.7f;
        protectMode.setProtectThreshold(expect);
        assertEquals(expect, protectMode.getProtectThreshold(), 0.01f);
    }