public void testSetAndGetMinTrackDurationInPercents() { final int value = 21; assertTrue(value != WAILSettings.getMinTrackDurationInPercents(getContext())); WAILSettings.setMinTrackDurationInPercents(getContext(), value); assertEquals(value, WAILSettings.getMinTrackDurationInPercents(getContext())); }
public void testGetMinTrackDurationInPercentsDefault() { assertEquals( WAILSettings.DEFAULT_MIN_TRACK_DURATION_IN_PERCENT, WAILSettings.getMinTrackDurationInPercents(getContext())); }