Skip to content

Commit

Permalink
Fixed naming bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
grzesiek2010 committed Oct 4, 2019
1 parent 210dbb4 commit a36ac42
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ public void fifteenDigitDecimalValueShouldDisplayAllDigits() {

@Test
// This should never be possible because the EditText has a limit on it
public void digitsAboveLimitOfFifteenShouldBeTruncatedFromLeft() {
public void digitsAboveLimitOfFifteenShouldBeTruncatedFromRight() {
Double eighteenDigitDouble = 9999999999999994.;
String fifteenDigitString = "999999999999994";
assertSame(15, fifteenDigitString.length());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void setUp() throws Exception {

@Test
// This should never be possible because the EditText has a limit on it
public void digitsAboveLimitOfFifteenShouldBeTruncatedFromLeft() {
public void digitsAboveLimitOfFifteenShouldBeTruncatedFromRight() {
Double eighteenDigitDouble = 9999999999999994.;
String fifteenDigitString = "999999999999994";
assertSame(15, fifteenDigitString.length());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ private int randomInteger() {
}

@Test
public void digitsAboveLimitOfNineShouldBeTruncatedFromLeft() {
public void digitsAboveLimitOfNineShouldBeTruncatedFromRight() {
getActualWidget().answerText.setText("123456789123");
assertEquals("123456789", getActualWidget().getAnswerText());
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ private int randomInteger() {
}

@Test
public void digitsAboveLimitOfNineShouldBeTruncatedFromLeft() {
public void digitsAboveLimitOfNineShouldBeTruncatedFromRight() {
getActualWidget().answerText.setText("123456789123");
assertEquals("123456789", getActualWidget().getAnswerText());
}
Expand Down

0 comments on commit a36ac42

Please sign in to comment.