@Test
public void testSet(){

  Progress progress = new Progress();
  progress.set(Float.NaN);
  Assert.assertEquals(0, progress.getProgress(), 0.0);
  progress.set(Float.NEGATIVE_INFINITY);
  Assert.assertEquals(0,progress.getProgress(),0.0);
  progress.set(-1);
  Assert.assertEquals(0,progress.getProgress(),0.0);
  progress.set((float) 1.1);
  Assert.assertEquals(1,progress.getProgress(),0.0);
  progress.set(Float.POSITIVE_INFINITY);
  Assert.assertEquals(1,progress.getProgress(),0.0);
}