From 2123d981df087642c38dfd72c244d6120c2d5c3d Mon Sep 17 00:00:00 2001 From: BugWriterZhao <1012291737@qq.com> Date: Mon, 13 Nov 2017 10:28:24 +0800 Subject: [PATCH] add a map test --- res/map_test.java | 51 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) create mode 100644 res/map_test.java diff --git a/res/map_test.java b/res/map_test.java new file mode 100644 index 0000000..7e52b82 --- /dev/null +++ b/res/map_test.java @@ -0,0 +1,51 @@ +// Checking that a city is properly placed is easier + +// than looking for an earthquake ... + +private final String[] cities = { + "Hong Kong,22.283,114.167", + + "Istanbul,41.017,28.950", + + "Singapore,1.283,103.833", + + "Cape Town,-33.933,18.417", + + "Panama,8.983,-79.517", + + "Punta Arenas,-53.167,-70.933", + // Magellan Straits + + "Adelaide,-34.933,138.600", + // Southern Australia + + "Miami,25.783,-80.217", + + "Lisbon,38.717,-9.133", + + "Quebec,46.817,-71.217", + + "Tunis,36.800,10.183", + // Northern Africa + + "Douala,4.050,9.700", + // Western Africa, Equator + + "Dakar,14.700,-17.450", + // Western Africa + + "Djibouti,11.583,43.150", + // Eastern Africa + + "Reykjavík,64.133,-21.933", + // Iceland + + "Trivandrum,8.483,76.950", + // Southern bit of India + + "Recife,-8.050,-34.900", + // North-East Brazil + + "Baku,40.400,49.883" +}; + // Caspian sea -- Gitee