Skip to content

Commit

Permalink
Fix expected values in test.
Browse files Browse the repository at this point in the history
Signed-off-by: Paulo Pires <ppires@lighthouselabs.eu>
  • Loading branch information
Paulo Pires committed May 7, 2012
1 parent 3b17523 commit c039790
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ public void setUp() throws Exception {
public void testSomeLitersPer100Km() {
cmdWithMAF = new FuelEconomyWithMAFObdCommand(FuelType.DIESEL, 38,
17.66d, -85.94f, false);
assertEquals(cmdWithMAF.getLitersPer100Km(), 1.0957601324895183d);
assertEquals(cmdWithMAF.getLitersPer100Km(), 15.379336121584492d);
}

@Test
public void testSomeMPG() {
assertEquals(cmdWithMAF.getMPG(), 2.449243048140571d);
assertEquals(cmdWithMAF.getMPG(), 15.29324791009041d);
}

/**
Expand Down

0 comments on commit c039790

Please sign in to comment.