Skip to content

Commit

Permalink
More test improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
simonpoole committed Dec 10, 2024
1 parent 26c2837 commit ead348e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,8 @@ public void rotateMultipolygon() {
Way way = (Way) relation.getMembers().get(0).getElement();
Node n0 = way.getFirstNode();

assertEquals(83881251, n0.getLon());
assertEquals(473885077, n0.getLat());
assertEquals(83881251, n0.getLon(), 300);
assertEquals(473885077, n0.getLat(), 300);
if (!TestUtils.clickMenuButton(device, context.getString(R.string.menu_rotate), false, false)) {
TestUtils.clickOverflowButton(device);
TestUtils.clickText(device, false, context.getString(R.string.menu_rotate), false, false);
Expand Down
1 change: 1 addition & 0 deletions src/androidTest/java/de/blau/android/easyedit/WayTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ public void selectWay() {
assertTrue(TestUtils.clickText(device, false, menuInfo, true, false));
assertTrue(TestUtils.findText(device, false, "asphalt"));
assertTrue(TestUtils.clickText(device, false, context.getString(R.string.done), true, false));
TestUtils.unlock(device);
assertTrue(TestUtils.clickOverflowButton(device));
String menuDelete = context.getString(R.string.delete);
TestUtils.scrollTo(menuDelete, false);
Expand Down

0 comments on commit ead348e

Please sign in to comment.