Skip to content

Commit

Permalink
Made test when_pop_next_pressure_psi_value_then_get_characterization(…
Browse files Browse the repository at this point in the history
…) passed.
  • Loading branch information
wubin28 committed Apr 11, 2014
1 parent b1be68e commit fd2ca7b
Showing 1 changed file with 5 additions and 1 deletion.
Expand Up @@ -2,12 +2,16 @@

import org.junit.Test;

import static org.fest.assertions.api.Assertions.assertThat;

/**
* Created by ben on 14-4-11.
*/
public class SensorTest {
@Test
public void when_pop_next_pressure_psi_value_then_get_characterization() {
assertThat(sensor.popNextPressurePsiValue()).isEqualTo(0);
Sensor sensor = new Sensor();
sensor.popNextPressurePsiValue();
assertThat(sensor.popNextPressurePsiValue()).isGreaterThan(16.0);
}
}

0 comments on commit fd2ca7b

Please sign in to comment.