Lines Matching refs:strength
120 //Test case 1.0: test strength
129 short strength = mVirtualizer.getRoundedStrength();
130 // allow 10% difference between set strength and rounded strength
131 assertTrue(msg +": got incorrect strength",
132 ((float)strength > (float)TEST_STRENGTH * 0.9f) &&
133 ((float)strength < (float)TEST_STRENGTH * 1.1f));
135 short strength = mVirtualizer.getRoundedStrength();
136 assertTrue(msg +": got incorrect strength", strength >= 0 && strength <= 1000);