Skip to content

Commit

Permalink
Slightly modified asserts to ignore unimportant differences.
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremian committed Jan 20, 2012
1 parent b26d8f0 commit ad64b35
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -100,11 +100,11 @@ public ClientsAndAccountsHomepage cancel() {
}

public void verifyCustomerAccountValue(int row, int col, double amount) {
Assert.assertEquals(selenium.getValue("customerAccountAmountEntered[" + row + "][" + col + "]"), Double.toString(amount));
Assert.assertEquals(Double.valueOf(selenium.getValue("customerAccountAmountEntered[" + row + "][" + col + "]")), amount);

}
public void verifyLoanAmountValue(int row, int col, double amount) {
Assert.assertEquals(selenium.getValue("enteredAmount[" + row + "][" + col + "]"), Double.toString(amount));
Assert.assertEquals(Double.valueOf(selenium.getValue("enteredAmount[" + row + "][" + col + "]")), amount);

}

Expand Down

0 comments on commit ad64b35

Please sign in to comment.