Skip to content

Commit

Permalink
Renamed the test of Sensor to be when_pop_next_pressure_psi_value_the…
Browse files Browse the repository at this point in the history
…n_it_is_between_18_and_19().
  • Loading branch information
wubin28 committed Apr 11, 2014
1 parent fd2ca7b commit ca788e1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -9,9 +9,9 @@
*/
public class SensorTest {
@Test
public void when_pop_next_pressure_psi_value_then_get_characterization() {
public void when_pop_next_pressure_psi_value_then_it_is_between_18_and_19() {
Sensor sensor = new Sensor();
sensor.popNextPressurePsiValue();
assertThat(sensor.popNextPressurePsiValue()).isGreaterThan(16.0);
assertThat(sensor.popNextPressurePsiValue()).isGreaterThan(18.0).isLessThan(19.0);
}
}

0 comments on commit ca788e1

Please sign in to comment.